Date: 08/13/00
- Next message: Paul Caheny: "[PHP-DB] multiple update sites"
- Previous message: Franklin Hays: "[PHP-DB] multiple inserts"
- In reply to: Franklin Hays: "[PHP-DB] multiple inserts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> $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>
- Next message: Paul Caheny: "[PHP-DB] multiple update sites"
- Previous message: Franklin Hays: "[PHP-DB] multiple inserts"
- In reply to: Franklin Hays: "[PHP-DB] multiple inserts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

