mysql_connect( ) does not take following parameter
-
password
-
user ID
-
database name
-
database host
C
Correct answer
Explanation
The mysql_connect() function accepts three parameters: database host, username, and password. Database name is NOT a parameter of mysql_connect() - you must select the database separately using mysql_select_db() after establishing the connection. Therefore, option C (database name) is the correct answer as the parameter that is NOT accepted.