Turnsteps post is the last one that got it right, but if you want to use the ternary operator then this does it:
$check = HISTORY || $time <= 1800 ? TRUE : $check;
Nuance
In reply to RE: exiting a if loop
by nuance
in thread exiting a if loop
by toadi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |