[ Index ] |
|
Code source de phpMyAdmin 2.10.3 |
[Code source] [Imprimer] [Statistiques]
Interface to the improved MySQL extension (MySQLi)
Poids: | 699 lignes (22 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PMA_DBI_connect($user, $password, $is_controluser = false) X-Ref |
connects to the database server param: string $user mysql user name param: string $password mysql user password param: boolean $is_controluser return: mixed false on error or a mysqli object on success |
PMA_DBI_select_db($dbname, $link = null) X-Ref |
selects given database param: string $dbname database name to select param: object mysqli $link the mysli object return: boolean treu or false |
PMA_DBI_try_query($query, $link = null, $options = 0) X-Ref |
runs a query and returns the result param: string $query query to execute param: object mysqli $link mysqli object param: integer $options return: mixed true, false or result object |
PMA_mysqli_fetch_array($result, $type = false) X-Ref |
returns $type array of rows from given $result The following function is meant for internal use only. Do not call it from outside this library! param: object mysqli result $result param: integer $type ASSOC, BOTH, or NUMERIC array return: array results |
PMA_DBI_fetch_array($result) X-Ref |
returns array of rows with associative and numeric keys from $result param: object mysqli result $result return: array result rows |
PMA_DBI_fetch_assoc($result) X-Ref |
returns array of rows with associative keys from $result param: object mysqli result $result return: array result rows |
PMA_DBI_fetch_row($result) X-Ref |
returns array of rows with numeric keys from $result param: object mysqli result $result return: array result rows |
PMA_DBI_free_result() X-Ref |
Frees the memory associated with the results param: result $result,... one or more mysql result resources |
PMA_DBI_get_host_info($link = null) X-Ref |
Returns a string representing the type of connection used param: resource $link mysql link return: string type of connection used |
PMA_DBI_get_proto_info( $link = null ) X-Ref |
Returns the version of the MySQL protocol used param: resource $link mysql link return: integer version of the MySQL protocol used |
PMA_DBI_get_client_info() X-Ref |
returns a string that represents the client library version return: string MySQL client library version |
PMA_DBI_getError($link = null) X-Ref |
returns last error message or false if no errors occured param: resource $link mysql link return: string|boolean $error or false |
PMA_DBI_close($link = null) X-Ref |
closes given database $link or $GLOBALS['userlink'] param: object mysqli $link the mysqli object return: boolean treu or false |
PMA_DBI_num_rows($result) X-Ref |
param: object mysqli result $result |
PMA_DBI_insert_id($link = '') X-Ref |
returns last inserted auto_increment id for given $link or $GLOBALS['userlink'] param: object mysqli $link the mysqli object return: string ineteger |
PMA_DBI_affected_rows($link = null) X-Ref |
returns the number of rows affected by last query param: object mysqli $link the mysqli object return: string integer |
PMA_DBI_get_fields_meta($result) X-Ref |
returns metainfo for fields in $result param: object mysqli result $result return: array meta info for fields in $result |
PMA_DBI_num_fields($result) X-Ref |
return number of fields in given $result param: object mysqli result $result return: integer field count |
PMA_DBI_field_len($result, $i) X-Ref |
returns the length of the given field $i in $result param: object mysqli result $result param: integer $i field return: integer length of field |
PMA_DBI_field_name($result, $i) X-Ref |
returns name of $i. field in $result param: object mysqli result $result param: integer $i field return: string name of $i. field in $result |
PMA_DBI_field_flags($result, $i) X-Ref |
returns concatenated string of human readable field flags param: object mysqli result $result param: integer $i field return: string field flags |
Généré le : Mon Nov 26 15:18:20 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |