Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. Which one of the following methods can be used to diagnose and display information about a MySQL connection error?

  2. A.

     connect_errno()

    B.

     connect_error()

    C.

     mysqli_connect_errno()

    D.

     mysqli_connect_error()

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The mysqli extension includes a few features that can be used to capture error messages or alternatively you can use exceptions.


Be The First To Comment