{assign} possibility?
| From: | Mitch Vincent | Date: | Tue, 29 Oct 2002 16:46:42 +0000 |
| Subject: | {assign} possibility? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6264@lists.php.net to get a copy of this message | ||
{assign var="letter" value=substr(strtolower($aItem.lastname), 0, 1)}
gives
FATAL: [256] Smarty: [in admin/admin.tpl line 16]: syntax error: invalid attribute name - '0,'
So is there a way to embed php functions in {assign} like that?
-Mitch