SV: [SMARTY] quick question
| From: | Jan H. Andersen | Date: | Mon, 14 Apr 2003 19:11:38 +0000 |
| Subject: | SV: [SMARTY] quick question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9248@lists.php.net to get a copy of this message | ||
How about using <textarea rows="{$foo|count_characters}"> ?
/Jan
-----Oprindelig meddelelse-----
Fra: luis [mailto:luis@fuegolabs.com]
Sendt: 14. april 2003 21:02
Til: 'Smarty General'
Emne: [SMARTY] quick question
I want to build a textarea with x rows being x the strlen of $foo (A
smarty variable)
{math equation = "x / 80" x=strlen($foo) assign=rows} does not work,
ideas?