Q.

insertId attribute returns                          

A. column id
B. row id
C. user’s id
D. database id
Answer» B. row id
Explanation: insertid attribute returns the row id of the row of the inserted sqlresultset object’s sql statement that is inserted into the database. if multiple rows are inserted then the id of the last row will be returned. if there is no row then invalid_access_err exception will be raised.
731
0
Do you find this helpful?
2

Discussion

No comments yet