[PHP-DEV] Bug #891: revert functions for htmlspecialchars and htmlentities From: agarcia <email protected>
Date: 11/02/98

From: agarcia <email protected>
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="&quot;quote&quot;">

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 <email protected>
For help: php-dev-help <email protected>