Re: multiple inserts

From: Date: Mon, 14 Aug 2000 01:28:16 +0000
Subject: Re: multiple inserts
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2019@lists.php.net to get a copy of this message
> $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

« previous php.db (#2019) next »