From: Matteo Beccati <m.beccati@crpsoftware.it>
To: pgsql-php@postgresql.org
Subject: Re: php insert problem
Date: Wed, 22 May 2002 17:46:42 +0200
Message-ID: <2780D698C269CB4EB303715BA48B6A10338E@sole.CRP> (raw)
In-Reply-To: <2780D698C269CB4EB303715BA48B6A1003059A@sole.CRP>
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.comhttp://phppgads.sourceforge.net
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: m.beccati@crpsoftware.it
Subject: Re: php insert problem
In-Reply-To: <2780D698C269CB4EB303715BA48B6A10338E@sole.CRP>
References: <2780D698C269CB4EB303715BA48B6A1003059A@sole.CRP> <2780D698C269CB4EB303715BA48B6A10338E@sole.CRP>
* 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