Hello Lorderon,

Wednesday, March 17, 2004, 3:39:35 AM, you wrote:

L> It is better run a query with:
L>     SELECT LAST_INSERT_ID();
L> immediately after making the insert query. that way you'll get the exact
L> ID..

Why?

What difference does that give between using the PHP function that
returns the last ID - other than the fact it takes another query on
the database?

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to