时间:2021-07-01 10:21:17 帮助过:14人阅读
array('C[d]'=>array('e'=>'hello world')), ); print_r($arr); print_r($arr['A[a]']);
------解决方案--------------------
$arr = array("a"=>array(1,2,3),"b"=>array("c"=>array("d"=>array("e"=>"Tom","f"=>"BeiJing")))); $smarty->assign("A",$arr); $smarty->display("testTwo.html");