Re: [SQL] booleans

From: Eric McKeown <ericm(at)palaver(dot)net>
To: Gregory Holston <holston(at)itd(dot)nrl(dot)navy(dot)mil>
Cc: "Jose' Soares" <jose(at)sferacarta(dot)com>, pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] booleans
Date: 1998-12-29 22:45:56
Message-ID: Pine.LNX.3.96.981229174421.23082A-100000@farout.palaver.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, 29 Dec 1998, Gregory Holston wrote:

> Date: Tue, 29 Dec 1998 12:36:32 -0500 (EST)
> From: Gregory Holston <holston(at)itd(dot)nrl(dot)navy(dot)mil>
> To: Jose' Soares <jose(at)sferacarta(dot)com>
> Cc: pgsql-sql(at)hub(dot)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(at)palaver(dot)net
http://www.palaver.net

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message John C Cusick 1998-12-29 23:32:48 Regex
Previous Message Larry Bottorff 1998-12-29 17:45:29 Postgres and Stored Procedures