Bug #891: revert functions for htmlspecialchars and htmlentities
| From: | agarcia at at4 dot net | Date: | Mon, 02 Nov 1998 10:58:55 +0000 |
| Subject: | Bug #891: revert functions for htmlspecialchars and htmlentities | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2124@lists.php.net to get a copy of this message | ||
From: agarcia@at4.net
Operating system: all
PHP version: 3.0.5
PHP Bug Type: Feature/Change Request
Bug description: revert functions for htmlspecialchars and htmlentities
Say you want to allways save plain text data in a database. And
you let the user modify the data via an html form:
You use htmlspecialchars to print the data:
<input type="text" name="test"
value=""quote"">
When you update de database with the data the user
sent via form, you want to save it in plain text.
So, it'll be usefull to reverthtmlspecialchars($test).
Thanks.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net