Re: htmlspecialchars

From: Date: Tue, 14 Jan 2003 18:35:02 +0000
Subject: Re: htmlspecialchars
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131603@lists.php.net to get a copy of this message
Thank you guys Foong Foong <chiew325@tm.net.my> wrote in message news:20030114174418.46607.qmail@pb1.pair.com... > 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 &quote; in database) > 2. stor the data in non encoded form and call htmlspecialchars whenever we > want to display it. > > Foong > > >

« previous php.general (#131603) next »