I am trying to create a php loop as follows:
<?php
for ($i= 0; $i < 18; $i++)
{
echo "hello World";
echo "</br>";
}
?>
when I run it I get this as an output:
"; } ?>
However when I used http://www.writephponline.com/ I get the expected output.
I'm using notepad++ and chrome. The file has a .php ext.
Is there something missing?
Surely it is a silly mistake but can't figure it out. I appreciate your help.