Skip site navigation (1) Skip section navigation (2)

Re: pg_query_params version?

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: Carol Walter <walterc(at)indiana(dot)edu>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_query_params version?
Date: 2009-08-03 19:52:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
In response to Carol Walter <walterc(at)indiana(dot)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:
(PHP 5 >= 5.1.0)

Thus that function is only in version 5.1.0 and newer.

Bill Moran

In response to


pgsql-php by date

Next:From: Raymond O'DonnellDate: 2009-08-03 19:53:37
Subject: Re: pg_query_params version?
Previous:From: Carol WalterDate: 2009-08-03 19:50:03
Subject: pg_query_params version?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group