[UPHPU] Displaying XML as text
Jacob Wright
jacwright at gmail.com
Thu Jan 18 16:20:32 MST 2007
yup, htmlentities is a beautilful little function PHP provides for exactly
that.
On 1/18/07, John David Anderson <uphpu at johndavidanderson.net> wrote:
>
>
> 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
>
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
--
Jacob Wright
Within Code LLC
More information about the UPHPU
mailing list