@ryanlundAug 10.2009 — #I wish you would explain things clearer, however if you want to check if a value is between certain numbers then you can put this: [code=php] if(is_int($input)&&$input>=1&&$input<=31){ echo "Input is between 1 and 31"; } else{ echo "Input is out of range"; } [/code]