The Tricky.net

mySQL



Last inserted id

Probably everybody has already had this problem:


It is great to have an auto_increment field in a database, but once you insert a row in this database and somehow need the created id, things get complicated. I have many times written a query to fetch the row and get the id. However, in mysql / php there is a very useful trick to solve this problem.... it is called

Read more...
 
<< Start < Prev 1 2 3 4 Next > End >>

Page 1 of 4