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’]. $_SET[‘admin’]. $_GET[‘url’]. $_SET[‘url’]. $_GET[‘admin’]. $_SET[‘admin’]. $_GET[‘url’]. 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 OTHERTABLE 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 both OTHERTABLE and MYTABLE will be deleted The database will remain unchanged The contents of OTHERTABLE 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 both OTHERTABLE and MYTABLE will be deleted ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which of the following is not an SQL aggregate function? AVG MAX SUM CURRENT_DATE() MIN AVG MAX SUM CURRENT_DATE() MIN ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling To identify entries marked for deletion, you check whether $_GET[‘page’] == ‘delete’ inside __________ index.ini .htaccess admin.php index.php index.ini .htaccess admin.php index.php 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
PHP Databases Handling Use the .............. to delete the data inside the table, and not the table itself? DELETE TABLE DROP TABLE REMOVE TABLE TRUNCATE TABLE DELETE TABLE DROP TABLE REMOVE TABLE TRUNCATE TABLE ANSWER DOWNLOAD EXAMIANS APP