From: Bill Moran <wmoran@potentialtech.com>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-php@postgresql.org
Subject: Re: pg_query_params version?
Date: Mon, 3 Aug 2009 15:52:31 -0400
Message-ID: <20090803155231.4e7da4f3.wmoran@potentialtech.com> (raw)
In-Reply-To: <6D3355E2-AF8B-4F90-8A7C-078FF2D186FB@indiana.edu>
References: <6D3355E2-AF8B-4F90-8A7C-078FF2D186FB@indiana.edu>
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.comhttp://people.collaborativefusion.com/~wmoran/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: wmoran@potentialtech.com, walterc@indiana.edu
Subject: Re: pg_query_params version?
In-Reply-To: <20090803155231.4e7da4f3.wmoran@potentialtech.com>
References: <6D3355E2-AF8B-4F90-8A7C-078FF2D186FB@indiana.edu> <20090803155231.4e7da4f3.wmoran@potentialtech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox