htmlspecialchars() backwards?
| From: | Jay Paulson | Date: | Tue, 25 Sep 2001 22:21:25 +0000 |
| Subject: | htmlspecialchars() backwards? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68782@lists.php.net to get a copy of this message | ||
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