$this->assign('design_img',$design_img);
//thinkphp 一维数组输出
<foreach name="design_img" item="vo">
<input type="text" name="design_img[]" value="{$vo}" />
</foreach>
//二维数组
<volist name="design_img" id="design_img">
{$design_img.name}
</volist>
//多维数组
<volist name="design_img" id="vo">
{$vo.name}
<volist name="vo['voo']" id="sub">
{$sub.name}
</volist>
</volist>
版权声明:本文为博主原创文章,未经博主允许不得转载。