The mysqli_fetch_array() function fetches a result row as an array that can be associative, numeric,
or both at the same time.
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:
MYSQLI_BOTH.