提示错误Fatal error: Unsupported operand types in G:\wampserver\wamp\www\member\archives_do.php on line 111
以下是源代码
106else if($dopost=="upArc")
107{ 
108
109$ntime= $dsql->GetOne("SELECT pubdate FROM `#@__archives` WHERE id='$id'; ");
110$now = time();
111if  ($now-$ntime>86400)
{
        //更新用户记录
        countArchives($channelid);
        //更新文档
        $dsql->ExecuteNoneQuery("Update `#@__archives` set pubdate=$now where id='$id' And mid='".$cfg_ml->M_ID."';");
        ShowMsg("成功更新文档文档!",$ENV_GOBACK_URL);
        exit();
    }
    else
    {
        ShowMsg("更新文档失败!",$ENV_GOBACK_URL);
      exit();
    }
}