![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
在smarty中,有一个嵌套数组,大的叫:test,小的无名.现在小数组想通过大数组test的index值得到相对应的items值.比如:大数组$smarty.foreach.test.index=1 那么小数组想得到的值是{foreach item= small name =test.1.items}
可是如果这样写却不对:
{foreach item=small name= test.$smarty.foreach.test.index.items}.请问如何修改?
提问者:hqnpc 08-22 12:12
答复

