没有php的基础知识,最近在看代码,发现这么一个函数://刷新首页
function ReIndex(){
$indextemp=GetIndextemp();//取得模板
NewsBq($classid,$indextemp,1,0);
insert_dolog("");//操作日志
printerror("ReIndexSuccess","history.go(-1)");
}这个函数里面没有定义$classid变量,怎么传值给NewsBq函数呢,不懂,望哪位高人指教!!这个代码在EmpireCMS(帝国网站管理系统)里。
function ReIndex(){
$indextemp=GetIndextemp();//取得模板
NewsBq($classid,$indextemp,1,0);
insert_dolog("");//操作日志
printerror("ReIndexSuccess","history.go(-1)");
}这个函数里面没有定义$classid变量,怎么传值给NewsBq函数呢,不懂,望哪位高人指教!!这个代码在EmpireCMS(帝国网站管理系统)里。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货