Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 0B1AD63306D for ; Fri, 23 Apr 2010 15:06:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 65745-03 for ; Fri, 23 Apr 2010 18:06:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail2.hosting.digiweb.ie (mail2.hosting.digiweb.ie [89.234.64.43]) by mail.postgresql.org (Postfix) with ESMTP id BDAA96329E5 for ; Fri, 23 Apr 2010 15:06:15 -0300 (ADT) Received: (qmail 14460 invoked by uid 399); 23 Apr 2010 18:06:13 -0000 Received: from unknown (HELO ?127.0.0.1?) (music@galwaycathedral.ie@109.76.82.28) by mail2.hosting.digiweb.ie with ESMTPAM; 23 Apr 2010 18:06:13 -0000 X-Originating-IP: 109.76.82.28 Message-ID: <4BD1E195.5080305@iol.ie> Date: Fri, 23 Apr 2010 19:06:13 +0100 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Giancarlo Boaron CC: pgsql-php@postgresql.org Subject: Re: Problems with pg_prepare References: <707591.84483.qm@web30008.mail.mud.yahoo.com> In-Reply-To: <707591.84483.qm@web30008.mail.mud.yahoo.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 100423-0, 23/04/2010), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.439 tagged_above=-10 required=5 tests=AWL=-0.361, BAYES_50=0.8 X-Spam-Level: X-Archive-Number: 201004/4 X-Sequence-Number: 4133 On 23/04/2010 17:24, Giancarlo Boaron wrote: > I'm receiving the following message when I try to use pg_prepare() function: > > "Call to undefined function pg_prepare()". > > My application works very well with others pg_* commands... What version of PHP are you using? According to the docs[1], pg_prepare() is present in PHP 5.1 and later. Ray. [1] http://ie2.php.net/manual/en/function.pg-prepare.php -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie