if not in php code example
Example 1: if not php
$a = true;
if(!$a) {
echo "False"; // Will return this
} else {
echo "True";
}
Example 2: php if less than number
<?php
if ($a > $b)
echo "a is bigger than b";
?>
$a = true;
if(!$a) {
echo "False"; // Will return this
} else {
echo "True";
}
<?php
if ($a > $b)
echo "a is bigger than b";
?>