Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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.

Who's Online

155 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits