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?

num_rows()
changed_rows()
new_rows()
affected_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 both OTHERTABLE and MYTABLE will be deleted
The contents of OTHERTABLE 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

PHP Databases Handling
When you are building administrative links you’ll need to accept two arguments, which of the following are they?

The current page and previous page
URL of previous entry and previous page
URL of previous entry and URL of the entry you are working with
The current page and URL of the entry you are working with

ANSWER DOWNLOAD EXAMIANS APP