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()
Correct Answer: mysqli_connect_errno()
The mysqli extension includes a few features that can be used to capture error messages or alternatively you can use exceptions.