I want to loop the below code until $grade=80, is the code below correct
<?php
include "grade.php";
$getgrade = new Grade(); // create an instance of the class(Grade)
echo "<ul id='navigation'>";
for($grade=0;$grade<80;$grade+10){
$max = $grade+9;
echo "<li><a href='#'>$grade-$max%</a>
<ul><li>";
$getgrade->results($grade+9);
echo "</li></ul>
</li>";
}
echo "</ul>";
?>
the page isn't loading when i try it so i'm guessing i got it wrong..