Re: easiest way to use MDB2 resultset to populate Quickform select element?
| From: | Massimiliano Arione | Date: | Tue, 10 Jul 2007 07:25:15 +0000 |
| Subject: | Re: easiest way to use MDB2 resultset to populate Quickform select element? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27650@lists.php.net to get a copy of this message | ||
l Burnerheimerton wrote:
I have searched and have yet to find an easy way to use an MDB2 result set to populate a Quickform select element. Without going through the obvious looping to get an array, is there a more elegant/easy way? (without using PEAR DB, only using MDB2)MDB2::fetchAll() is your friend. http://pear.php.net/manual/en/package.database.mdb2.intro-fetch.php -- Massimiliano Arione http://garakkio.altervista.org