September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed mysql_result(mysql result result_handle, int row_offset, [mixed field])
| result_handle | Result handle returned by mysql_db_query() or mysql_query() |
| row_offset | Row offset to use |
| field | Field offset or field name to use |
Fetches a single field from a result set.
Returns:
String, integer, or double; FALSE on error
Description:
mysql_result() fetches a single field from a MySQL result set. The function accepts two or three arguments.
The first argument should be a MySQL result handle returned by mysql_db_query() or mysql_query().
The second argument should be the row from which to fetch the field, specified as an offset. Row offsets start at 0.
The optional last argument can contain a field offset or a field name. If the argument ...
Read now
Unlock full access