Re: boolean error - Mailing list pgsql-php

From Duncan Adams (DNS)
Subject Re: boolean error
Date
Msg-id 7DD34E6DF5CD1B4283DDAB96A855DCED2F32AE@vodabemail1.vodacom.co.za
Whole thread Raw
In response to boolean error  ("P. Jourdan" <pippo@videotron.ca>)
List pgsql-php
I think the formatting should be

<font color=red><b>YES</b></font>

not

<font >color=red><b>YES></b></font>
      ^                ^

ta
duncan


-----Original Message-----
From: P. Jourdan [mailto:pippo@videotron.ca]
Sent: Friday, May 03, 2002 2:51 PM
To: Surojit Niyogi
Cc: pgsql-php@postgresql.org
Subject: Re: [PHP] boolean error


At 04:20 PM 5/2/2002 -0500, Roj Niyogi wrote:
>It can't understand
>
><font >color=red><b>YES></b></font>
>
>as a true or false representation for a boolean value.  You need to use
>either (true or false), (yes or no), or (1 or 0)
Right. Someone else had done the code and I am still trying to figure out
just what purpose the formatting served as it does not show up on any page.
I removed the formatting and left the "YES" and now it all works fine.

"Who knows what lies in the hearts of men?... The Shadow does!" :))
Philip Jourdan


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

pgsql-php by date:

Previous
From: "P. Jourdan"
Date:
Subject: Re: boolean error
Next
From: arun kv
Date:
Subject: Getting Image coordinates when mouse is clicked on the image and storing it in a variable