Re: pg_query_params version? - Mailing list pgsql-php

From Bill Moran
Subject Re: pg_query_params version?
Date
Msg-id 20090803155231.4e7da4f3.wmoran@potentialtech.com
Whole thread Raw
In response to pg_query_params version?  (Carol Walter <walterc@indiana.edu>)
Responses Re: pg_query_params version?  (Carol Walter <walterc@indiana.edu>)
List pgsql-php
In response to Carol Walter <walterc@indiana.edu>:

> Which version of PHP does pg_query_params need?  I wrote a PHP
> iprogram using PHP 5.  My client has PHP 4 something.  I got an error
> on the first line that contains a pg_query_params function.  Is the
> problem likely to be the difference in the versions or should I look
> elsewhere?
>
> The error is...
>
> Fatal error: Call to undefined function: pg_query_params() in /
> projects/ivl/www/ssl/admin/index.php on line 220

You already know the problem.  The PHP docs:
http://us2.php.net/manual/en/function.pg-query-params.php
claim:
(PHP 5 >= 5.1.0)

Thus that function is only in version 5.1.0 and newer.

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

pgsql-php by date:

Previous
From: Carol Walter
Date:
Subject: pg_query_params version?
Next
From: Raymond O'Donnell
Date:
Subject: Re: pg_query_params version?