Re: [SQL] booleans

From: Gregory Holston <holston(at)itd(dot)nrl(dot)navy(dot)mil>
To: Eric McKeown <ericm(at)palaver(dot)net>
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] booleans
Date: 1998-12-30 14:22:12
Message-ID: Pine.SUN.3.91.981229174732.16696A-100000@shell
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Eric Marsden 1998-12-30 17:01:28 UPDATE table SET col = (SELECT ...)
Previous Message John C Cusick 1998-12-29 23:32:48 Regex