note 50325 added to function.pg-convert

From: Date: Thu, 24 Feb 2005 20:03:01 +0000
Subject: note 50325 added to function.pg-convert
Groups: php.notes 
Request: Send a blank email to php-notes+get-85492@lists.php.net to get a copy of this message
Why does this function, pg_convert(), reject the string 'TRUE' as a valid value for the boolean types? I'm using PHP 4.3.9 and my web page originally set the value for submission to update, to 'TRUE'. pg_convert() threw it back to me saying that it's not a valid value for boolean types. However, the postgresql website says otherwise. See http://www.postgresql.org/docs/7.4/static/datatype-boolean.html for the context of my question/comment. ---- Manual Page -- http://www.php.net/manual/en/function.pg-convert.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50325 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50325&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50325&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50325&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50325&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50325&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50325&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85492) next »