Running some PHP and embarrassed at how echo / print works.
I have this code in my index.html :
<?php Print '<div>Hello, World!</div>'; ?>
And the output on my page
Hello, World!'; ?>
If I remove the <div> tags, I get no output. using echo leads to the same behavior.
What's happening? Everything I find on Google seems straightforward.
source share