Home » PHP » PHP MySQL Database » Question
  1. Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
    1. mysqli_connect_error()
    2. mysqli_connect_errno()
    3. connect_errno()
    4. connect_error()
    5. 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.



Your comments will be displayed only after manual approval.