PrepAway - Latest Free Exam Questions & Answers

Which of the following describes the function of this code?

Consider the following code:
$dbcon=mysql_connect(“james.stangernet.com”,”example”);
mysql_select_db(“databaseone”);

Which of the following describes the function of this code?

PrepAway - Latest Free Exam Questions & Answers

A.
It is selecting a table from the database.

B.
It is creating a connection to the database.

C.
It is conducting a join for a new database.

D.
It is selecting a database record and creating a new record.


Leave a Reply