Re: [SQL] booleans - Mailing list pgsql-sql

From Eric McKeown
Subject Re: [SQL] booleans
Date
Msg-id Pine.LNX.3.96.981229174421.23082A-100000@farout.palaver.net
Whole thread Raw
In response to Re: [SQL] booleans  (Gregory Holston <holston@itd.nrl.navy.mil>)
Responses Re: [SQL] booleans  (Gregory Holston <holston@itd.nrl.navy.mil>)
List pgsql-sql
On Tue, 29 Dec 1998, Gregory Holston wrote:

> Date: Tue, 29 Dec 1998 12:36:32 -0500 (EST)
> From: Gregory Holston <holston@itd.nrl.navy.mil>
> To: Jose' Soares <jose@sferacarta.com>
> Cc: pgsql-sql@hub.org
> Subject: Re: [SQL] booleans
>
>
> Initially I was inputing 't' and 'f'.  Then I tried 1 and 0 and it
> worked.  PHP3 cannot parse t or f I guess.

Did you echo your query on the page on which you execute it to see exactly
what it looks like when you're trying it with 't' and 'f'??  I'd bet
you're having some problem related to the escaping of quotes.  What is
your magic_quotes_gpc setting?  PHP shouldn't have any problems delivering
this query to Postgres...

>
> Thanks for the info,
>
> -Greg
>
>

_______________________
Eric McKeown
ericm@palaver.net
http://www.palaver.net


pgsql-sql by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [SQL] change username
Next
From: jcc2@juno.com (John C Cusick)
Date:
Subject: Regex