-
Which one of the following statements instantiates the mysqli class?
-
- mysqli->new.mysqli()
- $mysqli->new.mysqli()
- mysqli = new mysqli()
- $mysqli = new mysqli()
- None of these
Correct Option: D
If you choose to interact with MySQL server using the object-oriented interface, you need to first instantiate the mysqli class via its constructor.