[UPHPU] Displaying XML as text

John David Anderson uphpu at johndavidanderson.net
Thu Jan 18 16:16:08 MST 2007


On Jan 18, 2007, at 4:09 PM, Scott Hill wrote:

> I have a situation where users can paste XML into a text field.   
> When I try
> to display it, the XML parts of the text don't show up because the  
> browser
> sees it as XML.  What can I do to make the XML show as text?

http://us3.php.net/htmlentities

-- John




More information about the UPHPU mailing list