Answers for "php print html tags"

PHP
0

show html as text in php

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

print html code in php

<?php
echo "<h2>HTML with PHP!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
?>
Posted by: Guest on February-25-2021

Browse Popular Code Answers by Language