Re: multiple queries in a row
| From: | Casey Allen Shobe | Date: | Tue, 02 Jul 2002 20:36:48 +0000 |
| Subject: | Re: multiple queries in a row | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20278@lists.php.net to get a copy of this message | ||
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
cshobe@secureworks.net / http://www.secureworks.net
Content is my own and does not necessarily represent my company.