All right, this is really no rocket science it’s just something I needed and took me some time to figure out.
-
{assign var=
"fullName" value=
"`$human->first` `$human->last`"}
or more robust version:
-
-
{$human->first} {$human->last}
-
{/capture}
This entry was posted on Tuesday, March 4th, 2008 at 8:21 pm and is filed under Programming Techniques, Smarty. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.