Re: QuickForm - setDefaults without htmlentities()

From: Date: Mon, 13 Oct 2003 07:30:19 +0000
Subject: Re: QuickForm - setDefaults without htmlentities()
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8391@lists.php.net to get a copy of this message
Hi! Steffen Gebert wrote:
Hello, i've saved many datasets in a mysql database with all htmlentities already converted:
This is obviously *your* problem, not QuickForm's. There are 2 solutions: 1) Stop doing this and apply htmlspecialchars() only before output (this is the preferred way) 2) Somehow undo htmlspecialchars() before doing setDefaults()

« previous php.pear.general (#8391) next »