From: Bruno Wolff III <bruno@wolff.to>
To: Kovalcik, Mike A [ITS] <mkoval01@sprintspectrum.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Perl DBI question
Date: Wed, 18 Jun 2003 12:46:48 -0500
Message-ID: <20030618174648.GA22260@wolff.to> (raw)
In-Reply-To: <480641561E05E94D9B6CCE1E39AA0300116792@PDAWB06C.ad.sprint.com>
References: <480641561E05E94D9B6CCE1E39AA0300116792@PDAWB06C.ad.sprint.com>
On Tue, Jun 17, 2003 at 16:51:33 -0500,
"Kovalcik, Mike A [ITS]" <mkoval01@sprintspectrum.com> wrote:
>
> $sth = $dbh->do("INSERT INTO transactions
> (date,description,amount,confirmation,nameid,typeid) VALUES
> ('$datePaid','$description','$amount','$confirmation',$nameid,$typeid)")
> ;
Most likely you want single quotes around $nameid and $typeid.
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-admin@postgresql.org
Cc: bruno@wolff.to, mkoval01@sprintspectrum.com
Subject: Re: Perl DBI question
In-Reply-To: <20030618174648.GA22260@wolff.to>
References: <480641561E05E94D9B6CCE1E39AA0300116792@PDAWB06C.ad.sprint.com> <20030618174648.GA22260@wolff.to>
* 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