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