1.

Which one of the following methods is responsible for sending the query to the database?(a) query()(b) send_query()(c) sendquery()(d) mysqli_query()The question was asked in an online quiz.I want to ask this question from Working with Databases-2 in section Objects and Databases in PHP of PHP

Answer»

Right choice is (d) mysqli_query()

To explain I would say: The METHOD mysqli_query() is responsible for SENDING the query to the database. Query() method was previously USED in older versions of PHP.



Discussion

No Comment Found

Related InterviewSolutions