Which of the methods are used to manage result sets using both associative and indexed arrays?
mysqli_fetch_array() and mysqli_fetch_row()
Correct:
mysqli_fetch_array() and mysqli_fetch_row()
Answer: d Explanation: The method mysqli_fetch_array() is used to fetch a result row as an associative array or a numeric array.
And the function mysqli_fetch_row() is used to fetch one row from a result-set and returns it as an enumerated array.
The method fetch_array() and fetch_row() were used in previous version of PHP.