Answers for "simple php code to display data from any tag"

PHP
0

show html as text in php

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

set php var to html

<?php ob_start();?>
<div>Contents goes <b>here</b></div>
<?php $contents=ob_get_clean();?>
Posted by: Guest on December-17-2020

Code answers related to "simple php code to display data from any tag"

Browse Popular Code Answers by Language