Doing stuff with || is always a good way to stuff up.  In the case of
your example it will always evaluate to true.

 > if ($A != $C || $B != $C) {
 > 
 > I think, but im fairly new

This would work if you did this:

If (!($A == $C || $B == $C)) {

 > > In perl, I would do this:
 > >
 > > unless ($c =~ /$a|$b/) {
 > >   blabla
 > >   exit 0
 > > }




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to