marc serra wrote:

Hi,



i use PEAR DB with a mysql database and i want to know if there is a
solution to get last inserted id in a table.


If the id is auto increment, can't you use max(id) to get the last inserted one?

Best

Bao

I see that I can use sequences but it doesn't work with mysql.



Thanks,



Marc.





-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to