Charles Williams wrote:

> Hello,
> 
> I am trying to figure out how I can retrieve an automatically incremented
> index after I insert data into the table.  The index is the ONLY information
> that is unique in the entry at times and additions are quite often.  Any
> ideas would be appreciated.


In the manual, page 129, use the function LAST_INSERT_ID()

Frank.



---------------------------------------------------------------------
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