Need help to create a PHP echo script from a range of numbers.

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-05-10T01:22:03Z Indexed on 2010/05/10 1:28 UTC
Read the original article Hit count: 293

Filed under:
|
|

I need a simple script that reads a number from POST (we'll call the value 'number'). It will be a three digit number that must range from the following:

301-340

401-440

501-540

601-640

701-740

801-840

If it doesn't fall in these ranges, I need to echo a message. How would one do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about range