Re: [SQL] booleans

Gregory Holston <holston@itd.nrl.navy.mil>

From: Gregory Holston <holston@itd.nrl.navy.mil>
To: Eric McKeown <ericm@palaver.net>
Cc: pgsql-sql@hub.org
Date: 1998-12-30T14:22:12Z
Lists: pgsql-sql
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