Home > PHP > Function > Mssql > mssql_fetch_row()

mssql_fetch_row()

mssql_fetch_row - Get row as enumerated array

Syntax

array mssql_fetch_row (resource $result)

Arguments

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

Description

mssql_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.

Version

PHP 4, 5, PECL odbtp >= 1.1.1

Return value

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