Home > PHP > Function > MySQL > mysql_fetch_row()

mysql_fetch_row()

mysql_fetch_row - Get a result row as an enumerated array

Syntax

array mysql_fetch_row (resource $result)

Arguments

  • result - The result resource that is being evaluated. This result comes from a call to mysql_query().

Description

Returns a numerical array that corresponds to the fetched row and moves the internal data pointer ahead.

Version

PHP 4, 5

Return value

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