为什么我输出不出来呢?
$person=array(
1=>array("name"=>"Jack","age"=>"20"),
2=>array("name"=>"Tom","age"=>"21"),
3=>array("name"=>"peter","age"=>"17"),
4=>array("name"=>"kimi","age"=>"19"),
);
<foreach name='person' item='data'>
<egt name='data.age' value='18'>{$data.name}成年啦<else/>{$data.name}还木有成年呢</egt><br/>
</foreach>
哪里写的不对?出来的是
k成年啦
1还木有成年呢