$person = array(‘name‘=>‘linken‘,‘height‘=>‘170‘,‘color‘=>‘black‘,‘addr‘=>‘American‘);
$smarty -> assign(‘pson‘, $person);
通过literal标签,来保证smarty不解析
时间: 2024-10-14 12:53:31
$person = array(‘name‘=>‘linken‘,‘height‘=>‘170‘,‘color‘=>‘black‘,‘addr‘=>‘American‘);
$smarty -> assign(‘pson‘, $person);
通过literal标签,来保证smarty不解析