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

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
php-db [ Di, 13 April 2010 10:20 ] [ ID #2038767 ]

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

--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 . <php-db [at] garydjones.name> 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--
Firan Corneliu [ Di, 13 April 2010 10:40 ] [ ID #2038768 ]

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

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
php-db [ Di, 13 April 2010 10:53 ] [ ID #2038769 ]
PHP » gmane.comp.php.database » "Fatal error: Call to undefined function pq_query()"

Vorheriges Thema: Online PHP-Mysql Meeting
Nächstes Thema: Postgres - how to skip 'sequence' columns