Re: [SMARTY] Smarty 'unescape' variable modifier ?

From: Date: Wed, 24 Mar 2004 16:31:49 +0000
Subject: Re: [SMARTY] Smarty 'unescape' variable modifier ?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11171@lists.php.net to get a copy of this message
It does not come from database. It comes from a post variable and is escaped by PHP.
Turn off magic quotes, that way they won't get escaped. Then right before you put it into the database use addslashes. <http://us4.php.net/manual/en/function.get-magic-quotes-gpc.php> Vonleigh Simmons [vanlei] <www.illusionart.com/pi/>

« previous php.smarty.general (#11171) next »