Smarty简单生成表单元素的方法示例

<?php include("smarty_inc.php"); $smarty->assign('cust_ids',array(1000,1001,1002,1003)); $smarty->assign('cust_names',array('丁庆','闫磊','吕东','宋子健')); $smarty->assign('customer_id',1003); $smarty->display("index.html"); ?>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/ca20b7c09ddc13011505bfb62b2ea7bb.html