mysqli_fetch_row
[PHP 5, PHP 7, PHP 8]
mysqli_result::fetch_row -- mysqli_fetch_row — Fetch the next row of a result set as an enumerated array
Description
Object-oriented style
public mysqli_result::fetch_row[]: array|null|false
mysqli_fetch_row[mysqli_result $result
]: array|null|false
Note: This function sets NULL fields to the PHP
null
value.
Return Values
Returns an enumerated array representing the fetched row, null
if there are no more rows in the result set, or false
on failure.
Examples
Example #1 mysqli_result::fetch_row[] example
Object-oriented style