Re: [PHP-DEV] htmlspecialchars: better way

2003-01-14 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Tue, 14 Jan 2003, Foong wrote: > Hi, > I wonder which is the better way to store data into database? > 1. stor the data after we call htmlspeci

[PHP-DEV] htmlspecialchars: better way

2003-01-14 Thread Foong
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 -- PHP Development Mail