> Add two more sets of statements like those you have for the 
> first query. That's it.  There's nothing special to do.

MySQL also lets you stack insert statements:

$sql="INSERT INTO t1 ('A'); INSERT INTO t2 ('B'); INSERT INTO t3 ('C');"

This would work (but if you get an error, you'll have trouble debugging it.

It'll also save minutely on execution since it only needs to call
mysql_query
once instead of three times.

I prefer to use three explicit statements and query calls.

Jason

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