What is the exact code to fix "Parse error: syntax error, unexpected '=', expecting ')' on line 8"


#1

<html>
  <head>
    <title>Solo For Loop!</title>
  </head>
  <body>
    <p>
      <?php
      // Write your for loop below!
      for ($i = 0; $i < 101; $i = $i + 10) {
          echo $i;
      }
      ?>
    </p>
  </body>
</html>


#2

This is stuck. i just want to move forward, not hear a lecture about read it again etc.


#3

try it

  • cut the whole code
  • refresh your browser
  • paste your code
  • run it

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.