In PHP everything coming from mysql or drizzle is stored a string but converted to whatever type is needed on the fly.
So "FALSE" == true in PHP unfortunately, I think either a hack in the PHP module or using 0 and 1 are the only ways to fix it for PHP (of course a hack in the PHP module won't help with mysql connectors).
In PHP everything coming from mysql or drizzle is stored a string but converted to whatever type is needed on the fly.
So "FALSE" == true in PHP unfortunately, I think either a hack in the PHP module or using 0 and 1 are the only ways to fix it for PHP (of course a hack in the PHP module won't help with mysql connectors).