if ($A != $C || $B != $C) { I think, but im fairly new
"Magnus Solvang" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm used to the unless-statement in perl... How do I do this: > > if string A or B are NOT in string C, then do something and quit. > > In perl, I would do this: > > unless ($c =~ /$a|$b/) { > blabla > exit 0 > } > > - M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php