Multiple choice

_____________ selects mysqldatabase.

  1. mysql_select_database

  2. mysql_select_db

  3. mysql_connect_db

  4. mysql_database

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

mysql_select_db is the deprecated PHP MySQL function that selects the active database for subsequent queries. After connecting to MySQL with mysql_connect, you must select a specific database before running queries. Option A is a common but incorrect variation of the function name.