question is: when i create a boolean type column into mysql table, then it will auto change to tinyint(1),
also, in my php function, if $check = true; then the condition ($check == tinyint(1)variable) is valid, but if $check = false, then the condition ($check == tinyint(1)variable) is Invalid!!, but if $check = 0, it wll become valid.
why? and any better suggestion for improve when i facing this situation??~