On 24-Jan-01 Mark Lipscombe wrote:
> Someone jump in here and correct me if I'm wrong, but by the time you
> get around to executing the second query, LAST_INSERT_ID() from MySQL
> isn't necessarily going to be the desired value, because another record
> may well have been inserted in that time?

You're wrong; from the manual:

" ...
     The last ID that was generated is maintained in the server on a
     per-connection basis.  It will not be changed by another client.
"

Regards,
-- 
Don Read                                        [EMAIL PROTECTED]
-- The problem with people who have no vices is that you can be
        sure they're going to have some pretty annoying virtues.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to