Re: [PHP] Matching numbers 1-100

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 11:09 am, Wikus Moller wrote: > 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

Re: [PHP] Matching numbers 1-100

2007-02-03 Thread tedd
At 5:09 PM + 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-1

[PHP] Matching numbers 1-100

2007-02-03 Thread Wikus Moller
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. A

[PHP] Matching numbers 1-100

2007-02-03 Thread Wikus Moller
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. A