Question 1 Of 10
How Can we Create a Database Using PHP and MySQL?
mysqli_create_db(“Database Name”)
mysqli_create_ db(” Data”)
create_db(“Database Name”)
create_db(“Data”)
Question 2 Of 10
Which one is correct way, we can retrieve the data in the result set of MySQL using PHP?
mysql_fetch_row.
mysql_fetch_array
mysql_fetch_object
All the above
Question 3 Of 10
Which is the correct function Closing Connection in PHP ?
mysqli_close(“Connection Object”);
close(“Connection Object”);
mysql_close(“Connection Object”);
mysqli_close(“Database Object”);
Question 4 Of 10
How many parameter are required for MYSQLI Close function in PHP ?
2
3
4
5
Question 5 Of 10
Which is the not a correct MySQL Function in PHP ?
Mysqli_connect() Function
Mysqli_close() Function
mysqli_select_data() Function
mysqli_affected_rows() Function
Question 6 Of 10
How many parameter are required for MYSQLi connect function in PHP ?
2
3
4
5
Question 7 Of 10
How many parameter are required for MYSQLI query function in PHP ?
1
2
3
5
Question 8 Of 10
Which is the correct function to establish Connection in PHP ?
mysqli_connect(“Server Name “,” ‘User Name “,”- Password “,” DB Name”);
connect(“‘Server Name “,” User Name”,”Pass-word”,”DB Name”);
mysql_connect(“Server Name “,” User Name “,” Password “,” DB Name”);
mysqli_connect (“Database Object'”‘);
Question 9 Of 10
Which is the correct function to execute the SQL queries in PHP ?
mysqli_query(“Connection Object’/’SQL Query”)
query(“Connection Object”,”SQL Query”)
mysql_query(”Connection Object”,”SQL Query”)
mysql_query(“SQL Query”)
Question 10 Of 10
Which one of the following statements
instantiates the mysqil class?
mysqli = new mysqli()
$mysqli = new mysqli()
$mysqfl->new.mysq!i()
mysqli->new.mysqli()