Re: FATAL call to undefined function pg_query()

From: Date: Wed, 29 May 2002 04:17:58 +0000
Subject: Re: FATAL call to undefined function pg_query()
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-99617@lists.php.net to get a copy of this message
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 */

« previous php.general (#99617) next »