Jump to content

For loop failing :(


Drezard

Recommended Posts

Heres the error:

 

Parse error: syntax error, unexpected ')', expecting ';' in C:\Program Files\xampp\htdocs\wintersword\core\combat\combat.class.php on line 923

 

 

Heres the code...

 

  echo "</tr>";
  
  for ($i = 0, $i < $arraysize, $i + 1) { 

   $magic = $explodearray[$i];	

 

Whats the problem?

 

Thanks to everyone who has helped me so far with this. To let you know its all going towards my game (can be found at www.wintersword.com/user_register.php)

 

Link to comment
https://forums.phpfreaks.com/topic/45972-for-loop-failing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.