> > is there a function for this? or do I have to get all IDs and parse out
>the
> > last one?

Try this function:
         SELECT DISTINCT last_insert_id() from "table_name"

Regards,

         David


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to