⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

mysqli_fetch_row()

The mysqli_fetch_row() function fetches one row from a result set and returns it as a numerical array. We access the data via indexes, where counting starts at 0.

EXAMPLE
RESULT
The result will be displayed here...

Practical use: This function is fast, but we must be careful about the order of the columns in the database. In the example below, we are outputting the ID (index 0) and the color (index 2):