原文来自:https://liye5.com/
内容摘要
<?$sql=$empire->query("select id,title from {$dbtbpre}ecms_news where id>5000 order by id limit 1000");while($r=$empire->fetch($sql)){if($r[title]){$zm=GetInfoZ
文章正文
<?
$sql=$empire->query("select id,title from {$dbtbpre}ecms_news where id>5000 order by id limit 1000");
while($r=$empire->fetch($sql)){
if($r[title]){
$zm=GetInfoZm($r[title]);
$empire->query("update {$dbtbpre}ecms_news set infozm='$zm' where id=$r[id] limit 1");
}
}
?>
代码注释