0

What’s wrong with my php code?

<?php echo "<h1>samahd's multiplication table</h1>" echo "<table>" for($i=0;$i<13;$i++){ echo"<tr>" for($j=0;$j<13;$j++){ echo "<td>" echo "$i*$j<br>" echo "</td>" } echo "</tr>" } echo "</table>" ?> What’s wrong with my multiplication table?

11th Sep 2019, 6:10 PM
Dev Samahd
Dev Samahd - avatar
2 Answers
+ 6
Abdulsalam Abdulsamad Olaitan you are missing semicolons in every echo statement. Look at the corrected code. Hope it helps you 😉 https://code.sololearn.com/wwHr3Tv72Qcz/?ref=app
11th Sep 2019, 6:15 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
I hate syntax errors, rip
11th Sep 2019, 7:55 PM
Minerals2016
Minerals2016 - avatar