"Fatal error: Call to undefined function pq_query()"

"Fatal error: Call to undefined function pq_query()"

am 13.04.2010 10:20:55 von php-db

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

Re: "Fatal error: Call to undefined function pq_query()"

am 13.04.2010 10:40:05 von Firan Corneliu

--00c09ffb55047f348b04841a366a
Content-Type: text/plain; charset=ISO-8859-1

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 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
>
>

--00c09ffb55047f348b04841a366a--

Re: "Fatal error: Call to undefined function pq_query()"

am 13.04.2010 10:53:33 von php-db

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.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php