RE: [PHP-PEAR] db asbstraction
| From: | Chuck Hagenbuch | Date: | Fri, 26 Jan 2001 00:05:28 +0000 |
| Subject: | RE: [PHP-PEAR] db asbstraction | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1178@lists.php.net to get a copy of this message | ||
Quoting Colin Viebrock <colin@easyDNS.com>:
> $DB1 = new DB("SELECT name FROM table1");
> $DB2 = new DB("SELECT age FROM table2");
This means that you've just opened two connections to your database, right?
> I'm not trying to say one way is better or not. I'm just trying to
> figure out (given the lack of documentation) whether I am using
> the PEAR classes "properly". :)
Yes, you are.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Entropy. It's what's for dinner.