reverse htmlentities

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

reverse htmlentities

Post by malcolmboston »

i need a function that acts as the opposite of htmlentities and turns "non-html" mark-up into HTML mark-up, i could write a conversion system but im guessing theres already a built-in function for this that i cant find

Thanks
Mal
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

html_entity_decode()

I take it you mean the opposite of what you said:
turns "non-html" mark-up into HTML mark-up
you should read the "See also" section on functions...
Post Reply