Re: multiple queries in one php statement....

From: Date: Thu, 19 Jul 2001 21:54:38 +0000
Subject: Re: multiple queries in one php statement....
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10591@lists.php.net to get a copy of this message
cant... since the function returns a code if the call is true or not. if you try multiple statements, you cant know which failed and which was good... Koutsogiannopoulos Karolos wrote: > > 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) > > Thanks. > _______________________ > PGP KEY ID: 0xA86600E9 > _______________________ -- Leo G. Divinagracia III ldivinag@csuhayward.edu

« previous php.db (#10591) next »