> -----Original Message----- > From: Steve G [mailto:[EMAIL PROTECTED]] > Sent: 29 May 2002 13:47 > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php