September 2001
Intermediate to advanced
768 pages
32h 45m
English
array mysql_fetch_array(mysql result result_handle, [int result_type])
| result_handle | Result handle returned by mysql_db_query() or mysql_query() |
| result_type | Integer flag indicating the type of array to return |
Fetches a row of data as an array from a MySQL result handle.
Returns:
Array containing one row of query data; FALSE when out of array data or on error
Description:
mysql_fetch_array() retrieves a row of data from a result handle returned by mysql_db_query() or mysql_query(). Depending on the value of the result_type argument, the row is returned as an associative array, a numerically indexed array, or both (the default). result_type can be set to one of the following constants: MYSQL_ASSOC, MYSQL_NUM, or MYSQL_BOTH ...
Read now
Unlock full access