Which one of the following statements instantiates the mysqli class?
A. mysqli = new mysqli()
B. $mysqli = new mysqli()
C. $mysqli->new.mysqli()
D. mysqli->new.mysqli()
Answer: Option B
Solution(By Examveda Team)
If you choose to interact with MySQL server using the object-oriented interface, you need to first instantiate the mysqli class via its constructor.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