Jump to content

If something is within renge


manalnor

Recommended Posts

Hello dears,

 

let say i've hits = 10000

 

and i'm using

 

<? if ($line[hits]==1) {
// something
} else if($line[hits]==2) {
// something else
} else {
// something else else
}?>

 

But i wanna say if $line[hits] is within range 1 to 10 show something

else if $line[hits] is within range  11 to 20 show something else

 

how to say it

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/249801-if-something-is-within-renge/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.