Or in if statement
-
I have problem with or in if statement. If I use this code:
$var = 1; $var2 = 5; if($var == 3 || $var2 == 5){ echo "works"; }Then it will display works, but at the end there will also display all code.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Or in if statement’ is closed to new replies.