or condtion in php code example
Example 1: if not php
$a = true;
if(!$a) {
echo "False"; // Will return this
} else {
echo "True";
}
Example 2: operators in php
if (condition)
code to be executed if condition is true;
else
code to be executed if condition is false;