Richard Lynch wrote:
> On Sat, February 3, 2007 10:55 am, Chilling Lounge Admin wrote:
>> I need help with matching a variable. The variable would be e.g. 0-15
>> , 16-30 etc. and when the variable is equal to a certain range, it
>> would echo an image.
>>
>> Does anyone know what function I should
On Sat, February 3, 2007 10:55 am, Chilling Lounge Admin wrote:
> I need help with matching a variable. The variable would be e.g. 0-15
> , 16-30 etc. and when the variable is equal to a certain range, it
> would echo an image.
>
> Does anyone know what function I should use? preg_match?
>
> The co
Chilling Lounge Admin wrote:
Hi.
I need help with matching a variable. The variable would be e.g. 0-15
, 16-30 etc. and when the variable is equal to a certain range, it
would echo an image.
Does anyone know what function I should use? preg_match?
The code would be something like
if(preg_matc
Hi.
I need help with matching a variable. The variable would be e.g. 0-15
, 16-30 etc. and when the variable is equal to a certain range, it
would echo an image.
Does anyone know what function I should use? preg_match?
The code would be something like
if(preg_match("[16-30]",$variable))
{
echo
4 matches
Mail list logo