Re: Activity

From: Date: Mon, 06 Jun 2005 07:58:16 +0000
Subject: Re: Activity
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368445@lists.php.net to get a copy of this message
Hi Conni,

> I have a question: At http://www.php.net/manual/en/function.pg-convert.php
> there is a user note : "Why does this function, pg_convert(), reject the
> string 'TRUE' as a valid value for the boolean types? ..."
> 
> This is not the fault of pg_convert(). TRUE (in capital letters) is not
> a string but a constant without quotes. If you try to convert it, the
> function puts quotes and then 'TRUE' is not anymore a valid entry for
> boolean fields in PostgreSQL. With the stringa t, true, 1, y, yes
> instead the function works well.
> 
> Shall I write a new note or put this hint into the documentation?

This should go into the docs IMHO. Thanks for taking this.

Goba


Thread (19 messages)

« previous php.doc (#969368445) next »