Vidyalelo
PHP · Q14

Databases Handling

Programming · PHP · question 14

Q14

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()
Answer
D.
fetch_array() and fetch_column()

Answer: Option C

Solution

Answer: Option C
Solution:
Their prototype is as follows- calss mysqli_result { mixed fetch_array ([int resulttype]) } calss mysqli_result { mixed fetch_row() }