using AND plus OR together
Posted: Tue Oct 19, 2004 8:02 pm
I've looked and thought, but just can't figure this out. How do I do this simple if statement, using AND and OR together? Below is approximately what I am trying to do.
Can some kind soul supply the simplest way to do this?
if (( $userAccess < $recordAccess ) AND
( $recordType <> 'Type One' OR $recordType <> 'Type Two' )) {
}
Best regards,
Kevin
Can some kind soul supply the simplest way to do this?
if (( $userAccess < $recordAccess ) AND
( $recordType <> 'Type One' OR $recordType <> 'Type Two' )) {
}
Best regards,
Kevin