I'm using 4.0.6. That would explain it... So how does one using 4.0.6 perform a query on a postgres database? I think it's pg_exec. However, my manual is for the newest versions of PHP. Is the syntax the same? Is there an older manual out there?
Thanks! That definitely answeres that question. -steve ----- Original Message ----- From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 11:17 PM Subject: Re: [PHP] FATAL call to undefined function pg_query() > On Wednesday 29 May 2002 11:37, Steve G wrote: > > > Fatal error: Call to undefined function: pg_query() in > > /var/www/html/steve/frontdoor.php on line 42 > > > 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); > > What version of php are you using? pg_query is only available for PHP 4 >= > 4.2.0 > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > You should never bet against anything in science at odds of more than > about 10^12 to 1. > -- Ernest Rutherford > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php