section不能遍历带键名的一维数组

来源:互联网 发布:桌面淘宝下载 编辑:程序博客网 时间:2024/04/30 01:16

$smarty->assign("News", array("tit"=>"1001","cont"=>"this is test!"));

 

这个数组的遍历用SECTION是访问不到的,只能用FOR EACH访问,是不是?

原创粉丝点击