Re: [SMARTY] Smarty 'unescape' variable modifier ?
| From: | Artur Pydo | Date: | Wed, 24 Mar 2004 16:04:46 +0000 |
| Subject: | Re: [SMARTY] Smarty 'unescape' variable modifier ? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11168@lists.php.net to get a copy of this message | ||
Hi,
Robby Russell wrote:
You should unescape them when you remove them from the database in your SQL statement rather than make your application do it. More logic in db than in client interface will make your coding easier in the long run.It does not come from database. It comes from a post variable and is escaped by PHP. But i want to display it _before_ it's inserted into the database. So in this case it's useless to unescape all post data before escaping it once again. -- Best regards, Artur Pydo.