如题所述
phpçæéæ页é¢çææ¯å¾å¤ï¼ä½ çä½ éè¦é£ä¸ç§ï¼åä¸æ¥¼äºæ¥¼è¯´å¾é£æ ·ï¼æ¯ç¨å¾smartyææ¯ï¼ä½ ä¹å¯ä»¥ç´æ¥ç¨ä»£ç å®ç°ï¼ä¹å¯ä»¥ç¨åºæçCMSæ¥å®ç°æè
ç¨æ¡æ¶æ¥å®ç°ã
温馨提示:答案为网友推荐,仅供参考
第1个回答 2013-08-06
用Smarty技术 <?php include("../libs/Config.inc.php"); $Smarty->assign('cust_ids',array(1000,1001,1002)); $Smarty->assign('cust_names',array('Majie','Jon','Maarty')); $Smarty->assign('cust_id',1000); $Smarty->display("../templates/htm.htm"); $output=$Smarty->fetch("../templates/htm.htm"); $optionspagename="../htmls/options.htm"; $fp=fopen($optionspagename,"w"); fwrite($fp,$output); fclose($fp); ?>