Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id D924F476787 for ; Wed, 22 May 2002 11:52:41 -0400 (EDT) Received: from qmail.crp.dnsalias.com (r-bo043-1-67.tin.it [213.45.32.67]) by postgresql.org (Postfix) with SMTP id EEE8A4759EB for ; Wed, 22 May 2002 11:46:53 -0400 (EDT) Received: (qmail 12595 invoked by uid 64014); 22 May 2002 15:45:59 -0000 Received: from m.beccati@crpsoftware.it by web1 by uid 64011 with qmail-scanner-1.10 (iscan: v3.1/v6.150-1001/287/46731. . Clear:0. Processed in 0.690109 secs); 22 May 2002 15:45:59 -0000 Received: from unknown (HELO smtp.crp) (10.1.3.151) by 10.1.3.1 with SMTP; 22 May 2002 15:45:57 -0000 Received: (qmail 2790 invoked from network); 22 May 2002 15:46:42 -0000 Received: from triton.crp (HELO triton) (10.1.1.8) by sentinel.crp with SMTP; 22 May 2002 15:46:42 -0000 From: "Matteo Beccati" To: Subject: Re: php insert problem Date: Wed, 22 May 2002 17:46:42 +0200 Message-ID: <2780D698C269CB4EB303715BA48B6A10338E@sole.CRP> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <2780D698C269CB4EB303715BA48B6A1003059A@sole.CRP> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Archive-Number: 200205/83 X-Sequence-Number: 1215 Hi, It seems you forgot closing the php function arguments with ')': $result = pg_exec ($database, "INSERT into employees (emp_name, emp_email) VALUES ('$emp_name','$emp_email')"); This should work Regards -- Matteo Beccati http://www.phpadsnew.com http://phppgads.sourceforge.net