php if with & code example
Example 1: if not php
$a = true;
if(!$a) {
echo "False"; // Will return this
} else {
echo "True";
}
Example 2: php if
<?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";
?>