whats a good way to check for 2 conditions? example:
if thisAtrribute exists AND has a connection then doThis
---tom
whats a good way to check for 2 conditions? example:
if thisAtrribute exists AND has a connection then doThis
---tom
if(condition1 && condition2){...
}
I that what you mean?
ww
yes. what would be the proper syntax?
I think that is the proper syntax.
if($i<3 && $j >5){..
}
I think essentially the two conditions on either side of the && need to evaluate to the same thing, either true or false.
What two things are you trying to test for so I can give a more descriptive answer.
ww