If you're getting input for a false value as "false" you should really use some kind of conditional statement.

Yeah... like this:

$string = 'false';
$bool = ($string != 'false');
var_dump($bool);


-Rob

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to