Can anyone suggest how to round a number up to the nearest 10 number? If I have a number, sat 125, how do I round it up to the nearest 10 value, i.e. 30.
http://www.php.net/manual/en/function.round.php
Should get you in the right direction