I am sure you people will figure this out in a flash I have 2 numbers (they are dynamic) they sit in two variables start and end for this example lets say that start = 10
end = 15
all i need to do is check to see if my number that I want to compare is in the middle of start and end
like
$start = 10
$end = 15
$numbertocheck = 12
if $numbertocheck is between $start and $end then
echo "it is between"
else
echo "it is not between"
thanks for your help
--John