zero_ZX Posted December 2, 2009 Share Posted December 2, 2009 Hi, i got the most wierd php error ever and i don't know why.. echo "<td><strong>MP:</strong></td>"; echo "<td>"; echo "".$char['mn'].""; echo "</td>" echo "<td><strong>Armor:</strong></td>"; echo "<td>"; echo "".$char['armor'].""; Now i get this error: Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in C:\I***\characters.php on line 241 Line 241 says: echo "<td><strong>Armor:</strong></td>"; What is wrong with this one? :/ Thanks for sharing your wisdom Link to comment https://forums.phpfreaks.com/topic/183768-wierd-echo-error/ Share on other sites More sharing options...
lococobra Posted December 2, 2009 Share Posted December 2, 2009 The line that says - echo "</td>" does not end with a semi-colon. The following should run just fine. echo "<td><strong>MP:</strong></td>"; echo "<td>"; echo "".$char['mn'].""; echo "</td>"; echo "<td><strong>Armor:</strong></td>"; echo "<td>"; echo "".$char['armor'].""; Link to comment https://forums.phpfreaks.com/topic/183768-wierd-echo-error/#findComment-969971 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.