Home > PHP > Function > mSQL > msql_fetch_row()

msql_fetch_row()

msql_fetch_row - Get row as enumerated array

Syntax

array msql_fetch_row (resource $result)

Arguments

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

Description

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

Version

PHP 4, 5

Return value

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