One - One Code All

Blog Content

thinkphp 模板 volist 循环输出(一维)数组对应的键值

PHP WEB   2013-01-15 21:15:21

thinkphp模版中输出一维数组的键值,无明确的key参数。

{volist name="list" id="vo" key="k" }
{$k}.{$vo}
{/volist}



上一篇:thinkphp使用join进行联合查询
下一篇:thinkphp框架,用if标签判断对象是否为空

The minute you think of giving up, think of the reason why you held on so long.