Smarty中in_array函数的应用
By admin
- One minute read - 10 wordsphp脚本:
$Action= array(“article”,”soft”,”news”);
$smarty = new Smarty();
$smarty->assign(“Action”,$Action);
模板:
在数组内非数组内的值
By admin
- One minute read - 10 wordsphp脚本:
$Action= array(“article”,”soft”,”news”);
$smarty = new Smarty();
$smarty->assign(“Action”,$Action);
模板:
在数组内非数组内的值