Re: Matching numbers 1-100

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 3 Feb 2007 12:58:19 -0500, tedd wrote:
> At 5:09 PM +0000 2/3/07, Wikus Moller wrote:
>>Hi.
>>
>>I want to know if anyone can help me with my code which matches a
>>number to a range e.g. 1-15 and echoes an image if the number is in
>>the range.
>>
>>The code would use the if statement and check if a variable for
>>example 5  matches the range like 4-10 and if it does it echoes a
>>certain image.
>>
>>Anyone know which function I should use and what regex I should use?
>>
>>Thanks
>
> Hi:
>
> Wasn't this same question just asked by Chilling Lounge Admin?

Probably a homework assignment.  It's early in the semester and about 
when simple problems like this would be assigned.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux