Re: [PHP-DB] multiple inserts From: Sharif Islam (mislam <email protected>)
Date: 08/13/00

> $var= "INSERT INTO kayak (length,type,year) VALUES
> ('$length','$type','$year'),
> paddle (lengthp, offset) VALUES ('$lengthp','$offset')";
>
> $result = mysql_query($var);
>

Try this..
//after all of the above, add this two lines:

$var ="INSERT INTO table2 .....
$result=mysql_query($var);

also check this forum:
http://www.phpbuilder.com/search/?sort=Score&method=and&config=forum&restrict=&exclude=&words=multiple+insert

Hope this helps

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>