Answers for "php display html code"

PHP
0

show html as text in php

htmlspecialchars('<strong>something</strong>')
Posted by: Guest on October-05-2020
1

php echo alot of html

echo <<<CODE
  <table>
  <tr> 
    <td><b>Hello World</b></td>
  </tr>
  </table>
CODE;
Posted by: Guest on July-27-2020

Browse Popular Code Answers by Language