How do you evaluate if a variable is less than say 100 but is greater than 10? I know this is simple, but I am not sure how to do it.
<?php if(a>10 && a<100) { echo("a is less than 100 and greater than 10"); } else { echo("a is either less than ten or greater than 100"); } ?>
HTH Rob
if($x > 10 && $x < 100) { // code }
Hmm.. I had figured that was how to do it, just making sure there wasn't something I was missing.