2024.8.23
|
Go to the source code of this file.
Functions | |
raw_db_close_database () | |
raw_db_create_database ($database, $server="", $username="", $password="") | |
raw_db_create_field ($tablename, $field, $type) | |
raw_db_delete_field ($tablename, $field) | |
raw_db_edit_field ($tablename, $field, $type) | |
raw_db_escape_string ($str) | |
raw_db_fetch_array ($result, $type=FETCH_BOTH) | |
raw_db_free_result ($result) | |
raw_db_list_database_tables () | |
raw_db_list_table_fields_def ($tablename, $type=false) | |
if(DB_WRAPVERSION !=DB_MYSQL_WRAP) | raw_db_open_database ($database, $server="", $username="", $password="") |
raw_db_query ($query) | |
raw_db_rename_field ($tablename, $field, $newname, $type) | |
raw_db_rename_table ($tablename, $newname) | |
raw_db_table_exists ($tablename) | |
raw_get_db_version () | |
Variables | |
const | DB_MYSQL_WRAP (PHP_VERSION >="5") if(!extension_loaded('mysql')) if(! @dl('php_mysql.dll')) "db_v2b" |
const | FETCH_ASSOC MYSQL_ASSOC |
const | FETCH_BOTH MYSQL_BOTH |
const | FETCH_NUM MYSQL_NUM |
raw_db_close_database | ( | ) |
Definition at line 127 of file db_mysql.inc.php.
Referenced by db_close_database().
raw_db_create_database | ( | $database, | |
$server = "", | |||
$username = "", | |||
$password = "" ) |
raw_db_create_database() Creates a database if it does not exist.
$database | ||
string | $server | |
string | $username | |
string | $password |
Definition at line 80 of file db_mysql.inc.php.
Referenced by db_create_database().
raw_db_create_field | ( | $tablename, | |
$field, | |||
$type ) |
$tablename | |
$field | |
$type |
Definition at line 201 of file db_mysql.inc.php.
Referenced by db_create_field().
raw_db_delete_field | ( | $tablename, | |
$field ) |
$tablename | |
$field |
Definition at line 220 of file db_mysql.inc.php.
Referenced by db_delete_field().
raw_db_edit_field | ( | $tablename, | |
$field, | |||
$type ) |
$tablename | |
$field | |
$type |
Definition at line 261 of file db_mysql.inc.php.
Referenced by db_edit_field().
raw_db_escape_string | ( | $str | ) |
$str |
Definition at line 318 of file db_mysql.inc.php.
Referenced by db_escape_string().
raw_db_fetch_array | ( | $result, | |
$type = FETCH_BOTH ) |
raw_db_fetch_array() get the value of SQL-query, row by row
$result | ||
unknown | $type |
Definition at line 296 of file db_mysql.inc.php.
References $result.
Referenced by db_fetch_array().
raw_db_free_result | ( | $result | ) |
$result |
Definition at line 307 of file db_mysql.inc.php.
References $result.
Referenced by db_free_result().
raw_db_list_database_tables | ( | ) |
raw_db_list_database_tables() Returns an array with the list of tables of the current database.
Definition at line 106 of file db_mysql.inc.php.
Referenced by db_list_database_tables().
raw_db_list_table_fields_def | ( | $tablename, | |
$type = false ) |
raw_db_list_table_fields_def() lists fieldnames or fieldattributes according type
$tablename | ||
boolean | $type |
Definition at line 177 of file db_mysql.inc.php.
References $result.
Referenced by db_list_table_fields().
if(DB_WRAPVERSION !=DB_MYSQL_WRAP) raw_db_open_database | ( | $database, | |
$server = "", | |||
$username = "", | |||
$password = "" ) |
raw_db_open_database() Opens and connects an existing database.
$database | ||
string | $server | |
string | $username | |
string | $password |
Definition at line 52 of file db_mysql.inc.php.
Referenced by db_open_database().
raw_db_query | ( | $query | ) |
raw_db_query() queries the database with SQL
string | $query |
Definition at line 282 of file db_mysql.inc.php.
Referenced by db_create_record(), db_create_table(), db_delete_records(), db_delete_table(), db_edit_record(), db_get_data(), db_get_id(), db_get_next_free_id(), db_query(), and db_swap_records().
raw_db_rename_field | ( | $tablename, | |
$field, | |||
$newname, | |||
$type ) |
$tablename | |
$field | |
$newname | |
$type |
Definition at line 241 of file db_mysql.inc.php.
Referenced by db_rename_field().
raw_db_rename_table | ( | $tablename, | |
$newname ) |
$tablename | |
$newname |
Definition at line 157 of file db_mysql.inc.php.
Referenced by db_rename_table().
raw_db_table_exists | ( | $tablename | ) |
$tablename |
Definition at line 138 of file db_mysql.inc.php.
Referenced by db_table_exists().
raw_get_db_version | ( | ) |
raw_get_db_version() Returns the version of the database library.
Definition at line 33 of file db_mysql.inc.php.
Referenced by db_get_info().
const DB_MYSQL_WRAP(PHP_VERSION >="5") if(!extension_loaded( 'mysql')) if(! @dl( 'php_mysql.dll')) | ( | PHP_VERSION >="5" | ) | "db_v2b" |
WINBINDER - The native Windows binding for PHP for PHP
Copyright � Hypervisual - see LICENSE.TXT for details Authors: Rubem Pechansky and Hans Rebel
Database wrapper functions for WinBinder (MySQL-specific) version 2b
Definition at line 21 of file db_mysql.inc.php.
const FETCH_ASSOC MYSQL_ASSOC |
Definition at line 24 of file db_mysql.inc.php.
Referenced by db_swap_records().
const FETCH_BOTH MYSQL_BOTH |
Definition at line 22 of file db_mysql.inc.php.
const FETCH_NUM MYSQL_NUM |
Definition at line 23 of file db_mysql.inc.php.
Referenced by db_create_record(), db_get_id(), and db_get_next_free_id().