I want my page to display <br>Hello!. But if I use
<br>Hello!
echo "<br>Hello!";
Then the line is <br>not displayed, but a new line is displayed instead. How can i fix this? Thanks
<br>
Use Objects "
echo "<br>Hello!";
OR <xmp>in HTML:
<xmp>
echo '<xmp><br>hello</xmp>'
This is because you use HTML without replacing characters for text:
<?php echo "<br>Hello!"; ?>