Strange, i am using apache + php with windows. php processed mysql bit fields as number: it's work correct;
$b = $row['bit_field']
if ($b == 1) {
echo 'ok';
}
with centos and php 5.3.3 './configure' '--with-mysql' '--with-mcrypt' '--enable-mbstring' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-libjpeg' '--with-libpng' '--with-gd'
i need
$b = $row['bit_field']
if (ord($b) == 1) {
echo 'ok';
}
What option changing it?
-- Thanx