Version 1.32.2.6 (checked in on 2009/07/10 at 06:09:38 by drumm)
Database interface code for MySQL database servers using the mysqli client libraries. mysqli is included in PHP 5 by default and allows developers to use the advanced features of MySQL 4.1.x, 5.0.x and beyond.
| Name | Description |
|---|---|
| db_affected_rows | Determine the number of rows changed by the preceding query. |
| db_connect | Initialise a database connection. |
| db_decode_blob | Returns text from a Binary Large OBject value. |
| db_distinct_field | Wraps the given table.field entry with a DISTINCT(). The wrapper is added to the SELECT list entry of the given query and the resulting query is returned. This function only applies the wrapper if a DISTINCT doesn't already exist in the query. |
| db_encode_blob | Returns a properly formatted Binary Large Object value. |
| db_error | Determine whether the previous query caused an error. |
| db_escape_string | Prepare user input for use in a database query, preventing SQL injection attacks. |
| db_fetch_array | Fetch one result row from the previous query as an array. |
| db_fetch_object | Fetch one result row from the previous query as an object. |
| db_lock_table | Lock a table. |
| db_next_id | Return a new unique ID in the given sequence. |
| db_num_rows | Determine how many result rows were found by the preceding query. |
| db_query_range | Runs a limited-range query in the active database. |
| db_query_temporary | Runs a SELECT query and stores its results in a temporary table. |
| db_result | Return an individual result field from the previous query. |
| db_status_report | Report database status. |
| db_table_exists | Check if a table exists. |
| db_unlock_tables | Unlock all locked tables. |
| db_version | Returns the version of the database server currently in use. |
| _db_query | Helper function for db_query(). |