1.

Which one of the following methods is used to recuperating prepared statements resources?(a) end()(b) finish()(c) mysqli_close()(d) close()This question was addressed to me by my school principal while I was bunking the class.I need to ask this question from Working with Databases-2 in portion Objects and Databases in PHP of PHP

Answer»

Right option is (c) mysqli_close()

The explanation: The FUNCTION mysqli_close() is used to CLOSE an opened database connection. Once you’ve finished using a PREPARED statement, the resources it requires can be recuperated with the mysqli_close() method. Close() was used in PREVIOUS version of PHP.



Discussion

No Comment Found

Related InterviewSolutions