Sail E0 Webinar
Question
Which one of the following statements instantiates the mysqli class?
Options:
A .  mysqli = new mysqli()
B .  $mysqli = new mysqli()
C .  $mysqli->new.mysqli()
D .  mysqli->new.mysqli()
Answer: Option B


If you choose to interact with MySQL server using the object-oriented interface, you need to first instantiate the mysqli class via its constructor.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers