Šťastný.eu (http://xn--astn-8ra90d2a.eu)
500 Wii Points For Free - Wii.cooltre.com 

PHP + MySQL - Get last inserted record ID

02.02.2009, Happy, main   Bookmark and Share

If you are using only one specific DB connection, just use mysql last_insert_id();

It is connection specific, there is no need of locks and transactions etc. !

Šťastný.eu >>

blog comments powered by Disqus