From: Gregory Holston <holston@itd.nrl.navy.mil>
To: pgsql-sql@hub.org
Subject: booleans
Date: Tue, 29 Dec 1998 10:39:49 -0500 (EST)
Message-ID: <Pine.SUN.3.91.981229103532.6410B-100000@shell> (raw)
In-Reply-To: <199812290400.XAA29444@hub.org>
Good day all,
I just wrote an HTML form with a PHP script to enter data into a table
witha boolean field. When I pressed enter it returned the following error
"Warning: PostgresSQL query failed: ERROR: Bad boolean external
representation". The script is as follows:
if( $id ) {
pg_Exec($conn, "INSERT into authors
VALUES ('$pubrelease', '$id', '$first');");
}
I would appreciate any help.
Thanks,
-Greg
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-sql@postgresql.org
Cc: holston@itd.nrl.navy.mil, pgsql-sql@hub.org
Subject: Re: booleans
In-Reply-To: <Pine.SUN.3.91.981229103532.6410B-100000@shell>
References: <199812290400.XAA29444@hub.org> <Pine.SUN.3.91.981229103532.6410B-100000@shell>
* 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