Page 1 of 1

reverse htmlentities

Posted: Fri May 13, 2005 3:39 pm
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

Posted: Fri May 13, 2005 3:41 pm
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...