PHP Manual
Prev |  | Next

# mysql_fetch_row

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

mysql_fetch_row -- Get a result row as an enumerated array

## Description

``array mysql_fetch_row` (resource result)`

Returns an array that corresponds to the fetched row, or `FALSE` if there are no more rows.

mysql_fetch_row() fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0.

Subsequent call to mysql_fetch_row() would return the next row in the result set, or `FALSE` if there are no more rows.

See also: mysql_fetch_array(), mysql_fetch_object(), mysql_data_seek(), mysql_fetch_lengths(), and mysql_result().

Prev | Home | Next
mysql_fetch_object | Up | mysql_field_flags