Re: multiple queries in one php statement....
| From: | Hugh Bothwell | Date: | Thu, 19 Jul 2001 14:48:50 +0000 |
| Subject: | Re: multiple queries in one php statement.... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10573@lists.php.net to get a copy of this message | ||
"Koutsogiannopoulos Karolos" <k.koutsogiannopoulos@ideal.gr> wrote in
message news:9FF400760CD3D311B3B000A0C9D440BC96888D@exchange.internal...
> Hello everyone...
>
> Could someone give me a tip ang tell me if i can insert more than one
> queries in a mysql_query() statement??
>
> etc $quer=mysql_query(" BEGIN WORK , QUERY 1 , QUERY 2, COMMIT",$db)
(shrug) try it and find out. So long as you don't expect it to return
anything, I see no reason for it not to work.