0
Not worked code , why ??????
<?php for ($i = 1; $i <= 10; $i++) { echo $i; } ?> Parse error: syntax error, unexpected ';', expecting ',' or ')' in ..\Playground\ PHP Parse error: syntax error, unexpected ';', expecting ',' or ')' in ..\Playground\
6 Antworten
0
Hi, écho is a function, add brackets.
+ 1
<?php
for($i=1; $i<=10; $i++) {
echo($i);
}
?>
Result is 12345678910
https://code.sololearn.com/w7Brcx1QdNLg/?ref=app
0
what???
0
pleas write my code
0
My code must present : 1,2,3,4,5,6,7,8,9,10
0
but no worked