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?

affected_rows()
num_rows()
changed_rows()
new_rows()

ANSWER DOWNLOAD EXAMIANS APP

PHP Databases Handling
What will happen at the end of the following sequence of SQL commands?
BEGIN TRANSACTION
DELETE FROM MYTABLE WHERE ID=1
DELETE FROM OTHERTABLE
ROLLBACK TRANSACTION

The contents of OTHERTABLE will be deleted
The contents of both OTHERTABLE and MYTABLE will be deleted
The database will remain unchanged
The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1

ANSWER DOWNLOAD EXAMIANS APP