Examveda
Examveda

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()

Answer: Option C

Solution(By Examveda Team)

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

This Question Belongs to PHP >> Databases Handling

Join The Discussion

Related Questions on Databases Handling