booleans

From: Gregory Holston <holston(at)itd(dot)nrl(dot)navy(dot)mil>
To: pgsql-sql(at)hub(dot)org
Subject: booleans
Date: 1998-12-29 15:39:49
Message-ID: Pine.SUN.3.91.981229103532.6410B-100000@shell
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jose' Soares 1998-12-29 17:28:03 Re: [SQL] booleans
Previous Message Jose' Soares 1998-12-29 14:03:31 Re: [SQL] Probs with int2 in functions