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.Related Questions on Databases Handling
Which one of the following databases has PHP supported almost since the beginning?
A. Oracle Database
B. SQL
C. SQL+
D. MySQL
The updated MySQL extension released with PHP 5 is typically referred to as.
A. MySQL
B. mysql
C. mysqli
D. mysqly
A. extension=php_mysqli.dll
B. extension=mysql.dll
C. extension=php_mysqli.dl
D. extension=mysqli.dl
In which version of PHP was MySQL Native Driver(also known as mysqlnd) introduced?
A. PHP 5.0
B. PHP 5.1
C. PHP 5.2
D. PHP 5.3
Join The Discussion