htmlspecialchars: better way
| From: | Foong | Date: | Tue, 14 Jan 2003 17:19:33 +0000 |
| Subject: | htmlspecialchars: better way | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-93466@lists.php.net to get a copy of this message | ||
Hi,
I wonder which is the better way to store data into database?
1. stor the data after we call htmlspecialchars with the data (means we
store " as "e; in database)
2. stor the data in non encoded form and call htmlspecialchars whenever we
want to display it.
Foong