--- Foong <[EMAIL PROTECTED]> wrote:
> 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 &quote; in database)
> 2. stor the data in non encoded form and call
> htmlspecialchars whenever we want to display it.

Option 2.

Please do not cross-post questions like this to the
developer's list. This list ([EMAIL PROTECTED]) is
the appropriate place for these types of questions.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to