note 89389 deleted from function.mysql-query by danbrown
| From: | danbrown@php.net | Date: | Thu, 05 Mar 2009 16:31:02 +0000 |
| Subject: | note 89389 deleted from function.mysql-query by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151526@lists.php.net to get a copy of this message | ||
Note Submitter: Erick
----
In response to Andy about multiple queries... bad idea. The first query that has data which
contains a semi-colon, it will blow up. You're better off creating a wrapper function that
takes an array of queries as an arg. That said, even that is questionable because in most
circumstances you'll want to know the result of each query and returning an array of responses
just isn't practical.