X-Original-To: pgsql-php-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 7D83E9FB30C; Thu, 10 Aug 2006 00:25:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 37587-01; Thu, 10 Aug 2006 03:25:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from a2s5.a2hosting.com (host-209-124-50-10.a2webhosting.com [209.124.50.10]) by postgresql.org (Postfix) with ESMTP id 771C99FB2D5; Thu, 10 Aug 2006 00:25:40 -0300 (ADT) Received: from adsl-155-100-31.tys.bellsouth.net ([72.155.100.31] helo=[192.168.1.10]) by a2s5.a2hosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1GB1Aw-0007sl-80; Wed, 09 Aug 2006 23:25:38 -0400 In-Reply-To: <44DA9BA3.2020801@productivitymedia.com> References: <20060731041644.32247.qmail@web56610.mail.re3.yahoo.com> <7F7548C8-249E-44E2-8205-6C055671DA19@pgedit.com> <44DA9BA3.2020801@productivitymedia.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Lista PG-PHP , PostgreSQL SQL List Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: PL/pgSQL and PHP 5 Date: Wed, 9 Aug 2006 23:24:48 -0400 To: PostgreSQL Admin X-Mailer: Apple Mail (2.752.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s5.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200608/8 X-Sequence-Number: 3579 On Aug 9, 2006, at 10:36 PM, PostgreSQL Admin wrote: > select insert_staff_b('$_POST['firstname']::varchar) > > > Still I get this error: > Warning: pg_query(): Query failed: ERROR: function insert_staff_b > (character varying) does not exist HINT: No function matches the > given name and argument types. You may need to add explicit type > casts. Your select statement above has unbalanced single quotes. Assuming this is not really the issue, I would check the search_path and look at the function in psql or some admin tool to make sure the function name does not have different capitalization. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL