booleans - Mailing list pgsql-sql

From Gregory Holston
Subject booleans
Date
Msg-id Pine.SUN.3.91.981229103532.6410B-100000@shell
Whole thread Raw
List 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

pgsql-sql by date:

Previous
From: "Jose' Soares"
Date:
Subject: Re: [SQL] Probs with int2 in functions
Next
From: "Jose' Soares"
Date:
Subject: Re: [SQL] booleans