Considering this is the PHP and MySQL forum, I'm guessing vegancoder wants to know how to do this in PHP.
This code will work:
if (($myvariable >= 300) && ($myvariable <= 500)) {
// your code goes here
}
__________________
"What? Oh {darn}! Now my last words are gonna be 'what'." - Otter Bob (Burt Reynolds), The Cherokee Kid
|