Re: [SMARTY] Passing vars in an argument-string
| From: | messju mohr | Date: | Sun, 09 Mar 2003 07:03:09 +0000 |
| Subject: | Re: [SMARTY] Passing vars in an argument-string | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8491@lists.php.net to get a copy of this message | ||
On Sun, Mar 09, 2003 at 04:51:10AM +0100, Tom Sommer wrote:
> I got a function I call like so
>
> {headline name='this is your headline, $name'}
> Where $name is a smarty variable... yet I cannot access it, it just prints
> $name
>
> if i use " (like php) then I can't pass a more-than-two-word string as an
> argument
"this is your headline, $name" should work as expected. i just tested
this with 2.4.2 and with latest cvs: no problems.
> Help!
> --
> Tom Sommer, denmark
> www.tsn.dk - www.dreamcoder.dk