What am I doing wrong? This does not work:
if (($username eq "$security") && ($type ne "Check In" || $type ne + "Check Out")) {
But this does work:
if (($username eq "$security") && ($type ne "Check In")) {
I need to add several more arguments for $type. If the $username is correct and 3 or 4 $types are not true, I want to print something, but I can't get it to work. I'm missing something.
In reply to And plus OR by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |