Explore topic-wise MCQs in PHP Questions & Answers Working with Databases-1.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers Working with Databases-1 knowledge and support exam preparation. Choose a topic below to get started.

1.

7.Which one of the following statements can be used to select the database?

A. $mysqli=select_db('databasename');
B. mysqli=select_db('databasename');
C. mysqli->select_db('databasename');
D. $mysqli->select_db('databasename');
Answer» E.
2.

The updated MySQL extension released with PHP 5 is typically referred to as _______________

A. MySQL
B. mysql
C. mysqli
D. mysqly
Answer» D. mysqly