Thanks for the reply guys,
Can i ask another question related to the topic just discussed?
Lets say $numofpages = 54
This would mean that $numofpages >= 21
What i want to do is echo 30 40 50
Therefore, anything between 21 rounded up to 30 and 54 rounded down to 50 would be displayed as 30 40 50
I hope that makes sense.
Cheers,
micmac