Answers for "print html tags as text php"

PHP
1

php echo html as text

echo '<pre>';
echo htmlspecialchars($YOUR_HTML);
echo '</pre>';
Posted by: Guest on July-15-2021
0

show html as text in php

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

Browse Popular Code Answers by Language