Re: [SMARTY-DEV] Re: constants and cycle
| From: | Tom Sommer | Date: | Fri, 04 Apr 2003 21:39:00 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: constants and cycle | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1084@lists.php.net to get a copy of this message | ||
On 04 Apr 2003 15:32:32 -0600, Monte Ohrt wrote:
> If you have a better alterntive, please speak up! :-)
I was thinking the way MySQL uses backtrick's
I would include the $, seems more logical to me
"hello,
$this.is.my.var, what do you think?"
"hello, $this.is.my.var, what do you think?"
Same goes for general PHP escaping from a <<<
$s = <<<THIS
<test>{$my.var}</test>
THIS;
and not
$s = <<<THIS
<test>${my.var}</test>
THIS;
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk