| Re: Back-ticks in Smarty templates |
| by playsome on 2012/1/14 16:39:03 Thanks for the info peekay, ive never heard of that in programming usually its single or double quotes, it actualy just took me like 2 minutes to find the back tick key on my keyboard. |
| Back-ticks in Smarty templates |
| by Peekay on 2012/1/14 16:11:14 After a long and frustrating trouble-shoot, I have discovered that this works: le="color: #000000"><?php <{include file="db:`$mydirname`_inc_photo_info.html"}> but this doesn't: le="color: #000000"><?php <{include file="db:'$mydirname'_inc_photo_info.html"}> Apparently, using back-ticks for object references in Smarty is correct, so don't make the mistake I did of changing them into single-quotes thinking they were an error.
|