1.

Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?(a) get_row()(b) fetch_row()(c) fetch()(d) mysqli_fetch_row()This question was posed to me in an international level competition.Enquiry is from Working with Databases-2 topic in portion Objects and Databases in PHP of PHP

Answer»

Correct ANSWER is (d) mysqli_fetch_row()

Explanation: The function mysqli_fetch_row() is used to fetche ROW from a RESULT-set and returns it as an enumerated array.

Its syntax is mysqli_fetch_row(result);



Discussion

No Comment Found

Related InterviewSolutions