Re: [PHP-DB] "Fatal error: Call to undefined function pq_query()"

2010-04-13 Thread Gary .
On Tue, Apr 13, 2010 at 10:40 AM, Firan Corneliu wrote: > Are you sure you're not using q instead of g :) Err. My first thought was "What a strange thing to ask." Then I looked... Thanks. I'd been looking at that for a good hour or so... *embarrassed* -- PHP Database Mailing List (http://www.ph

Re: [PHP-DB] "Fatal error: Call to undefined function pq_query()"

2010-04-13 Thread Firan Corneliu
Are you sure you're not using q instead of g :) just to be sure, you can check if a function exists by using $boolExists = function_exists('any_function_name'); http://www.php.net/manual/en/function.function-exists.php On Tue, Apr 13, 2010 at 11:20 AM, Gary . wrote: > What the... > > What is c

[PHP-DB] "Fatal error: Call to undefined function pq_query()"

2010-04-13 Thread Gary .
What the... What is causing this? I can use "pg_connect" without complaint, why does pq_query give this problem? PHP 5.3.1 FWIW. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php