For bulk loads, its proably best to query the db for the max id number before the load starts and then do the same after...

last_insert_id only returns the last inserted id....

Bastien


From: blackwater dev <[EMAIL PROTECTED]>
Reply-To: blackwater dev <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP-DB] returning inserted ids using "load data local infile"
Date: Thu, 28 Oct 2004 09:27:21 -0400

Is there anyway to get an array of the inserted id's generated when I
load data into mysql using an external data file???

Thanks!

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


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



Reply via email to