日期:2014-05-17 浏览次数:20576 次
<?php $arr = array( 'A[a]'=>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");