Results 1 to 2 of 2
Thread: Displaying Literal HTML Code
Jun 9, 2007, 05:25 #1
- Join Date
- Mar 2006
- 0 Post(s)
- 0 Thread(s)
Displaying Literal HTML Code
I've ran into a situation where I need to display literal html code that I have stored in a MySQL database. I thought this would be simple PHP 101, but I've not ran across a function yet that will do as I need.
Essentially, I'm looking for the same thing as the code / html feature in vbulletin.
Jun 9, 2007, 06:01 #2Code php:
print htmlspecialchars('<p>This is HTML!!!</p>');
<p>This is HTML!!!</p>Logic without the fatal effects.
All code snippets are licensed under WTFPL.