For the life of me I can't get php to update the schdl field in mysql. It will update EVERY other field in the test queries EXCEPT schdl .
The schdl value is currently set to 1 and I am trying to set it to 0 . The schdl field's NULL option is set to "No" and the Default for the field is "0".
Steps I've taken:
I can execute the below command successfully from MySQL CLI
UPDATE dispatch SET schdl="0" WHERE servid="12";
<- Again this works fine
But as soon as I try to execute it in PHP, the query comes back as successful but the value remains unchanged. I've tried: . I update other values in the same query and they all update as expected, only the schdl remains unchanged. What the heck am I missing?
Is php submitting the '0' value properly and mysql is interpreting the value weirdly and setting it to True or something?
How do I fix this?
PHP 5.4.3 MySQL 5.5.24