MySQL query
| From: | Lee P Reilly | Date: | Mon, 22 Apr 2002 20:07:24 +0000 |
| Subject: | MySQL query | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94046@lists.php.net to get a copy of this message | ||
Hi,
Can someone tell me if there is a way to execute multiple MySQL
statements by passing *one* query containing a number of individual
statements to MySQL e.g.
UPDATE sampcomp SET fg="N", pctd="69", maxpctd="69.1" WHERE
sampcompid="3";UPDATE sampcomp SET fg="N", pctd="69.2",
maxpctd="69.3"
WHERE sampcompid="2";
And just return FALSE if one of the queries cannot be executed? Just
curious...
Cheers,
Lee