FATAL call to undefined function pg_query()
| From: | Steve G | Date: | Wed, 29 May 2002 03:37:33 +0000 |
| Subject: | FATAL call to undefined function pg_query() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99614@lists.php.net to get a copy of this message | ||
Hello,
I don't know exactly why I'm getting this output:
Fatal error: Call to undefined function: pg_query() in
/var/www/html/steve/frontdoor.php on line 42
I can successfully connect to my db using:
$link = pg_connect ("host=localhost dbname=$dbname user=$user");
And I even get the proper Database name using:
echo pg_db_name();
but for some reason pg_query gives me an undefined function. What gives??
Is this function not valid? The manual says it is.. I think my syntax is
correct...
Line 42 -> pg_query("select * from users", $link);
Can anyone help me?
Thanks!
-steve