Having issues with the value being returned from MySQL from an AJAX query that selects a check box. But the only way I can get it to work is to have the value in MySQL as NULL
.
But 0
or 1
will return it checked every time. In MySQL I have it set to tinyint(1)
.