Smarty vars inside double quotes
| From: | Liz Fulghum | Date: | Wed, 23 Jul 2003 00:22:34 +0000 |
| Subject: | Smarty vars inside double quotes | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9942@lists.php.net to get a copy of this message | ||
Hi -
running into an issue with smarty variable that contain double quotes.
Specifically in instances where I'm surrounding the variable in double
quotes like in form fields: <input name="name" type="text"
class="form"
style="width:300px" value="{$name}">
Smarty is terminating the output of contents of the variable where the first
quote appears, even though it contains the full string (and displays it when
not within quotes).
The smarty man page on quotes isn't providing much help to me .... any clues
on a way around this?
Thanks in advance.
---------------------
Liz Fulghum
http://www.eastbywest.com/