$a = true;
$b = true;
if (($a == false) || ($b == false)) {
echo "BAD";
} else {
echo "OK";
}
why this show me "BAD"? how can i fix it?
You can use the not operator !
like this
if(!$value)
// Do stuff
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With