--- marc serra <[EMAIL PROTECTED]> wrote:
> 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.
> 
> I see that I can use sequences but it doesn't work with mysql.

There is this:

http://www.php.net/mysql_insert_id

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming mid-2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

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

Reply via email to