RE: [PHP] FATAL call to undefined function pg_query()
| From: | Ford, Mike [LSS] | Date: | Thu, 30 May 2002 12:19:22 +0000 |
| Subject: | RE: [PHP] FATAL call to undefined function pg_query() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99891@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Steve G [mailto:Steve@fade.nu]
> Sent: 29 May 2002 13:47
> To: php-general@lists.php.net
> Subject: Re: [PHP] FATAL call to undefined function pg_query()
>
>
> 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?
Well, the online manual entry at http://www.php.net/manual/en/function.pg-query.php
includes this:
Note: This function used to be called pg_exec(). pg_exec()
is still available for compatibility reasons but users are
encouraged to use the newer name.
so I guess you can assume that otherwise it's exactly the same!
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211