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?

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?

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 0

Your email address will not be published. Required fields are marked *