if($rpurl!=$rpurlold) { $query1 = “UPDATE `dede_keywords` SET rpurl=’$rpurl’ WHERE aid=’$aid’ “; $dsql->ExecuteNoneQuery($query1); }DedeCMSV5.7 sp1文档关键词频率修改方法 修改为://更新链接网址、频率 $rank = ${‘rank_’.$aid}; if($rpurl!=$rpurlold) { $query1 = “UPDATE `dede_keywords` SET rpurl=’$rpurl’,rank=’$rank’ WHERE aid=’$aid’ “; $dsql->ExecuteNoneQuery($query1); } else { $query1 = “UPDATE `dede_keywords` SET rank=’$rank’ WHERE aid=’$aid’ “; $dsql->ExecuteNoneQuery($query1); }
新闻热点
疑难解答