Re: multiple queries in a rov

From: Date: Tue, 02 Jul 2002 16:49:48 +0000
Subject: Re: multiple queries in a rov
Groups: php.db 
Request: Send a blank email to php-db+get-20277@lists.php.net to get a copy of this message
Load the query into a variable, usually $query. $query = "SELECT * FROM table; SELECT * FROM othertable;"; $result = mysql_query($query, $link_id) or die("error msg"); >>> "Mattia" <mattia.c@libero.it> 06/27/02 02:19PM >>> I would like to make multiple queries in a single mysql_query(...) statement!! Like in the mysql client given with the distribution, separated by a ; or a \g !!! How can I??? Mattia -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#20277) next »