php two if statement code example
Example 1: php multi condition if
if($var == "abc" || $var == "def" || ...)
{
echo "true";
}
Example 2: php if true 1 condition from multiple condition
$a = 50;
$b = 10;
> {
echo "Hello World";
}
if($var == "abc" || $var == "def" || ...)
{
echo "true";
}
$a = 50;
$b = 10;
> {
echo "Hello World";
}