[eluser]devbro[/eluser]
can you give us an example or more details.
if you mean to filter a set of numbers based on a min/max value then this should do:
Code:
$nums = array(1,2,3,4,2,1,2312,33,4,2312);
$rc = array();//holds the result
foreach($nums as $num)
{
if($min <= $num && $num <= $max)
{
$rc[] = $num
}
}