See :
http://www.php.net/manual/en/function.get-html-translation-table.php
An example exists in there that does this.
Regards,
Philip Olson
On Tue, 25 Sep 2001, Jay Paulson wrote:
> hello-
>
> Is there a built in function that will reverse what htmlspecialchars() does
> to text?
> For example:
>
> $text = "<stuff & goes> here\" and \' there";
> $text = htmlspecialchars($text);
>
> //now all the special codes are in the $text var for the html and now I want
> to get
> //back to the orignal string of "<stuff & goes> here\" and \' there" how do
> I do that?
>
> $text = (some function here)($text);
>
> I hope you understand if not I'll explain more.
>
> Thanks!
> jay
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]