PHP Databases Handling If there is no error, then what will the error() method return? Empty String FALSE TRUE 0 Empty String FALSE TRUE 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query? new_rows() affected_rows() num_rows() changed_rows() new_rows() affected_rows() num_rows() changed_rows() 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 What will happen at the end of the following sequence of SQL commands?BEGIN TRANSACTIONDELETE FROM MYTABLE WHERE ID=1DELETE FROM OTHERTABLEROLLBACK TRANSACTION 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 database will remain unchanged The contents of OTHERTABLE will be deleted 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 database will remain unchanged The contents of OTHERTABLE will be deleted ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following statements should be used to include a file? #include ‘filename’; #include ; include ‘filename’; @include ‘filename’; #include ‘filename’; #include ; include ‘filename’; @include ‘filename’; ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling To identify entries marked for deletion, you check whether $_GET[‘page’] == ‘delete’ inside __________ admin.php index.php index.ini .htaccess admin.php index.php index.ini .htaccess ANSWER DOWNLOAD EXAMIANS APP