Procedural File: functions_mysql.php
Source Location: /functions_mysql.php
Page Details:
Mysql function lib for PureFTPd.
This file holds all the mysql funtions used in the class file
Tags:
sql_affected_rows [line 131]
integer sql_affected_rows(
[resource $result = ""])
|
|
Get number of affected rows in previous MySQL operation.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call - optional. |
sql_data_seek [line 142]
boolean sql_data_seek(
resource $result, integer $pos)
|
|
Move internal result pointer.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call. |
integer |
$pos |
Position in data set |
sql_error [line 158]
void sql_error(
mixed $filename, mixed $linenumber, [mixed $query = ""])
|
|
Obsolete error handler. It's still here for backward compatability
sql_fetch_array [line 74]
array sql_fetch_array(
resource $result)
|
|
Fetch a result row as an associative array, a numeric array, or both.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call. |
sql_fetch_assoc [line 94]
array sql_fetch_assoc(
resource $result)
|
|
Fetch a result row as an associative array.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call. |
sql_fetch_row [line 84]
array sql_fetch_row(
resource $result)
|
|
Get a result row as an enumerated array.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call. |
sql_insert_id [line 151]
Get the ID generated from the previous INSERT operation.
Tags:
sql_num_rows [line 121]
integer sql_num_rows(
[resource $result = ""])
|
|
Get number of rows in result.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call - optional. |
sql_query [line 63]
resource sql_query(
string $query)
|
|
Send query to database server.
Tags:
Parameters
string |
$query |
The query sent to the database server. |
sql_result [line 106]
mixed sql_result(
resource $result, [integer $pos = 0], [string $field = ""])
|
|
Get result data.
Tags:
Parameters
resource |
$result |
The result resource from a previous sql_query call. |
integer |
$pos |
The offset - optional. |
string |
$field |
The field in the result array - optional. |
sql_trigger_error [line 20]
string sql_trigger_error(
string $query, string $err)
|
|
Error handler.
Tags:
Parameters
string |
$query |
The query sent to the database server. |
string |
$err |
User supplied extra error info. |
|