→ chan15:改雙引號就 ok 了… 06/17 12:33
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.36.28.161
※ 編輯: chan15 來自: 114.36.28.161 (06/17 12:15)
{html_image file='images/x.png'}
這是 smarty 使用圖片的語法
假設今天是在一個 section 裡面
我想導入 section 的順序當作撈圖依據的話該怎麼結合
{html_images file='images/{$smarty.section.data.index+1}.png'}
這樣是不 work 的
--