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

mysqli_fetch_array()

The mysqli_fetch_array() function fetches a result row as an array that can be associative, numeric, or both at the same time.

EXAMPLE
RESULT
The result will be displayed here...

Practical use: This function accepts an optional parameter to determine the type of array. If you use MYSQLI_ASSOC, you get column names, with MYSQLI_NUM you get numbers, and with MYSQLI_BOTH you get both. Test it at home like this: