2011年8月15日
摘要: smarty一维数组的引用2008-07-30 11:49index.php: $smarty = new Smarty; $Contacts = array(‘a’=>'123','b'=>'456')$smarty->assign('Contacts',$Contacts); $smarty->display('index.tpl');index.tpl: {$Contacts.a}<br> {$Contacts.b}<br> 阅读全文
posted @ 2011-08-15 16:52 佐伊凡 阅读(1128) 评论(0) 推荐(0) 编辑