Using DB and DB_DataObjects together
| From: | Peter Bowyer | Date: | Thu, 04 Nov 2004 17:53:24 +0000 |
| Subject: | Using DB and DB_DataObjects together | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15335@lists.php.net to get a copy of this message | ||
Hi,
For an app I'm writing I'm finding it more convenient to use DB directly in parts rather than DB_DO (such as when I need an associative array of rows to pass to Smarty). Is there any neat way to do this rather than ending up with two connections to the database? I can't find any way to initialise DB_DO and then 'get' the connection out of it.
Thanks,
Peter
--
Maple Design - quality web design and programming
http://www.mapledesign.co.uk