Question:Which of the following is the correct way to creating instance of class mysqli? 

A $mysql=new mysqli('localhost','user','password','database_name'); 

B $mysql=new mysqli('localhost','user','password'); $mysqli->select_db('database_name'); 

C $mysql= new mysqli(); $mysqli->connect('localhost','user','password','database_name'); 

D All 

+ Answer
+ Report
Total Preview: 1099

Copyright © 2024. Powered by Intellect Software Ltd