Hi everyone

I have a normal "for loop" below that echo the numbers in the loop. However, i only want the "for loop "to echo out the first 30 numbers, thereafter i want it to echo every 10th number i.e 1, 2, 3, 4 5..... ..... 50, 60, 70 80 90 etc.

I am not sure how to do it. Can someone please give me advice on how i can do this.

PHP Code:

for ($i=1$i <= 150$i++)
$i <br />";

Thank you very much everyone.

Warm regards