RE: [PHP] Multi Files insert...

From: Date: Sat, 14 Sep 2002 15:50:43 +0000
Subject: RE: [PHP] Multi Files insert...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116376@lists.php.net to get a copy of this message
> I am currently working a project were I need to add not one record but > several. How can I do that? Do I need to do a loop. How to do a loop to do > multi insertions. I know I sound like a fool, but I am still having > problems > with loops. Assumming a database...you can use this form of insert and do it in one query: INSERT INTO table (col1, col2, col2) VALUES (val1,val2,val3),(val11,val22,val33),(val111,val222,val333) And insert as much as you want. ---John Holmes...

« previous php.general (#116376) next »