On Thursday 27 June 2002 02:19 pm, Mattia wrote:
> 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???

You should be able to use it exactly the same.

$foo = mysql_query('
select  something
from    somewhere;

select  something_else
from    somewhere_else;
', $link_id);

Casey Allen Shobe / Network Security Analyst & PHP Developer
SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144
[EMAIL PROTECTED] / http://www.secureworks.net
Content is my own and does not necessarily represent my company.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to