September 2001
Intermediate to advanced
768 pages
32h 45m
English
object mysql_fetch_object(mysql result result_handle, [int result_type])
| result_handle | Result handle returned by mysql_db_query() or mysql_query() |
| result_type | Result explanation goes here |
Fetches a row of data from a result handle and returns it as an object.
Returns:
Object containing one row of query data; FALSE when out of data or on error
Description:
mysql_fetch_object() retrieves a row of data from a result handle returned by mysql_db_query() or mysql_query(). The data is returned as an object. After the data is retrieved, the result handle’s internal pointer is advanced one position.
The column names are used as property names for the object. If column names are duplicated, the data in the last column in the query ...
Read now
Unlock full access