1.

Which one of the following methods can be used to diagnose and display information about a MySQL connection error?(a) connect_errno()(b) connect_error()(c) mysqli_connect_errno()(d) mysqli_connect_error()This question was posed to me in my homework.This question is from Working with Databases-1 in division Objects and Databases in PHP of PHP

Answer»

Right ANSWER is (C) mysqli_connect_errno()

To explain: The mysqli extension includes a few features that can be used to capture ERROR messages or alternatively you can USE exceptions.



Discussion

No Comment Found

Related InterviewSolutions