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" <[EMAIL PROTECTED]> 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php