SyntaxFix
Write A Post
Hire A Developer
Questions
You should use other variable:
$m=0; for($n=1; $n<=8; $n++): $n = $n + $m; $m++; echo '<p>'. $n .'</p>'; endfor;