Get the primary key of an Inserted value
On Android when i Insert a row to my database, i can easily get its Id
after it's inserted :
long id=database.insert(MySqlHelper.TABLE_UPLOAD, null,values);
Is there a similar PHP function to retrieve the Primary key of the
Inserted row, without using another Select statement, just Like Android?
No comments:
Post a Comment