Which of the methods are used to manage result sets using both associative and indexed arrays?
A
get_array() and get_row()
B
get_array() and get_column()
C
fetch_array() and fetch_row()
D
mysqli_fetch_array() and mysqli_fetch_row()
Correct Answer: mysqli_fetch_array() and mysqli_fetch_row()
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 fetche one row from a result-set and returns it as an enumerated array. The method fetch_array() and fetch_row() were used in the previous version of PHP.