Received: from itd.nrl.navy.mil (s2.itd.nrl.navy.mil [132.250.83.3]) by hub.org (8.9.1/8.9.1) with ESMTP id JAA20211 for ; Wed, 30 Dec 1998 09:22:18 -0500 (EST) (envelope-from holston@itd.nrl.navy.mil) Received: from shell (shell [132.250.83.3]) by itd.nrl.navy.mil (8.8.8/8.8.8) with SMTP id JAA26408; Wed, 30 Dec 1998 09:22:12 -0500 (EST) Date: Wed, 30 Dec 1998 09:22:12 -0500 (EST) From: Gregory Holston X-Sender: holston@shell To: Eric McKeown cc: pgsql-sql@hub.org Subject: Re: [SQL] booleans In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I wouldn't think it would have any problem handling this code either, code I used was : if( $id ) { pg_Exec($conn, "INSERT into authors values ('$pubrelease', '$id', '$first');"); } First was the variable where the boolean, t or f was to be placed in the HTML form. I did not put quotes insert them with quotes for this is already done with the PHP. This works for int, text, etc. hich was why I was surprised by the error message. -Greg