php display html code code example
Example 1: php echo alot of html
echo <<<CODE
<table>
<tr>
<td><b>Hello World</b></td>
</tr>
</table>
CODE;
Example 2: show html as text in php
htmlspecialchars('<strong>something</strong>')
echo <<<CODE
<table>
<tr>
<td><b>Hello World</b></td>
</tr>
</table>
CODE;
htmlspecialchars('<strong>something</strong>')