mdb2 questions
| From: | Jeff Solomon | Date: | Fri, 02 May 2008 17:48:58 +0000 |
| Subject: | mdb2 questions | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28857@lists.php.net to get a copy of this message | ||
hello,
I am a PHP / MySQL web developer using mdb2. I would like to request some help understanding the options array that is used when creating an mdb2 connection. I am using the mysqli driver and recently found that multi-queries (i.e. "SELECT * FROM table1; SELECT * FROM table2;") that return multiple result sets, only work when the following option is set: 'multi_query' => true .
This option is not listed in the available options found at:
http://pear.php.net/package/MDB2/docs/2.4.1/MDB2/MDB2_Driver_Common.html#var$options
I have two questions:
- Is the multi_query option ok to use?
- Should the documentation be updated, or are some database specific options (in this case MySQL) not listed?
I also want to say that I sincerely appreciate your work on this projects. The mdb2 package has made my development a lot easier, and I'm very happy with it.
thank you,
Jeff Solomon
Netbiz.com, Inc.
Lead Developer