|
From: Michael P. <mic...@gm...> - 2012-10-17 06:08:24
|
On Wed, Oct 17, 2012 at 3:01 PM, Roger Mayes <rog...@gm...>wrote:
> Ok, I put this together in a test action, completely separate from
> anything to do with the rest of my code base, just to be sure it's pdo..
>
> // $conn = Zend_Db::factory('Pdo_Pgsql', $connArgs);
> $conn = new PDO('pgsql:host=localhost;dbname=devdb', 'postgres',
> '');
> $statement = $conn->query("select now()");
> echo "<pre>";
> echo print_r($statement->fetchAll(), true);
> echo "</pre>";
> $conn = null;
>
> That script doesn't ...
>
> Eh, hmm. Nope, that script works fine. Poo. So the problem is with my
> code, somehow. Awesome. Meh, yeah, it works with Zend_Db, etc., too.
> Well, on the bright side, now zend / php / pdo has been specifically
> tested.
>
Nice to know it works normally. Thanks.
--
Michael Paquier
http://michael.otacoo.com
|