Register|Login

Have a question? Click here to ask the community.

Quiz 3 – Connecting To A Database

| In: MySQL Quizzes | 12,347 views

*You are currently not logged in and your quiz score will not be recorded. Please login or register if you would like to submit your quiz score.

Directions: Answer all questions. Any questions skipped will be scored as wrong answers. Good Luck! :)

1. The “mysql_connect()” function opens a MySQL connection?

True
False

2. The “mysql_select_db()” function allows you to select a particular database ?

True
False

3. The “mysql_close()” function allows you to close a MySQL connection?

True
False

4. The “or die()” part of a MySQL command will execute if the connection fails?

True
False

5. If a PHP script opens a MySQL connection, the script will automatically close the connection after the script has finished executing?

True
False

Comment Form

You must be logged in to post a comment.

Users Online

Users Online: 6 Users

Most Users Ever Online: 91

Quiz Scores

Advertisments