newbie: Escaped variables in form textareas??

From: Date: Mon, 01 Jul 2002 16:51:49 +0000
Subject: newbie: Escaped variables in form textareas??
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5122@lists.php.net to get a copy of this message
Hi, I have a textarea field for comments in a web form. If there is no problem with the form, then the comment gets entered into a database and is immediately display in an html page (this part works fine). However, if there is a problem with the form, I've asked a smarty template to redisplay the form, showing the visitor's original comment as the default value in the comment field. The problem is that if their comment has a quote character, then the backslashes show up when the form is redisplayed. I know the backslashes normally help the quotes to be displayed properly, but is there a way to have smarty show the comments variable without the backslashes? thanks, Avern _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com

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