T.muqiao wrote:I think it's not wrong,
but have answer to this.
It is not possible to give an answer to your first post since it is totally messed up with the value of $i. But I gave two answers that would work, and you have gotten 3 other answers as well. All those 5 answers would work without any problem IF you mean what have been answered. If not then you have to ask in a way that we can understand.
By the way, a better way to follow your way would be
<?php
echo "1 4 7 10 13 16 19 22 25";
?>
Or to just do this in the HTML code:
1 4 7 10 13 16 19 22 25