-
Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
-
- mysqli_connect_error()
- mysqli_connect_errno()
- connect_errno()
- connect_error()
- None of these
Correct Option: B
The mysqli extension includes a few features that can be used to capture error messages or alternatively you can use exceptions.