PHP Databases Handling Which one of the following methods is responsible for sending the query to the database? query() send_query() query_send() sendquery() query() send_query() query_send() sendquery() ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling What will happen at the end of the following sequence of SQL commands?BEGIN TRANSACTIONDELETE FROM MYTABLE WHERE ID=1DELETE FROM OTHERTABLEROLLBACK TRANSACTION The database will remain unchanged The contents of both OTHERTABLE and MYTABLE will be deleted The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 The contents of OTHERTABLE will be deleted The database will remain unchanged The contents of both OTHERTABLE and MYTABLE will be deleted The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 The contents of OTHERTABLE will be deleted ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following statements can be used to select the database? $mysqli=select_db(‘databasename’); $mysqli->select_db(‘databasename’); mysqli->select_db(‘databasename’); mysqli=select_db(‘databasename’); $mysqli=select_db(‘databasename’); $mysqli->select_db(‘databasename’); mysqli->select_db(‘databasename’); mysqli=select_db(‘databasename’); ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following methods can be used to diagnose and display information about a MySQL connection error? mysqli_connect_error() connect_errno() mysqli_connect_errno() connect_error() mysqli_connect_error() connect_errno() mysqli_connect_errno() connect_error() ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling You need to check whether ______ is set, to determine whether you’re editing an entry or creating a new one. $_SET[‘url’]. $_GET[‘admin’]. $_GET[‘url’]. $_SET[‘admin’]. $_SET[‘url’]. $_GET[‘admin’]. $_GET[‘url’]. $_SET[‘admin’]. ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following statements instantiates the mysqli class? $mysqli = new mysqli() mysqli = new mysqli() $mysqli->new.mysqli() mysqli->new.mysqli() $mysqli = new mysqli() mysqli = new mysqli() $mysqli->new.mysqli() mysqli->new.mysqli() ANSWER DOWNLOAD EXAMIANS APP