该问题已被锁定!
1
关注
3359
浏览

$this->update('posts_index' 这一句应该怎么写

AI智能回复搜索中,请稍后...

查看全部 1 个回答

kenw2004 高级会员 用户来自于: 四川省成都市
2016-02-14 01:52
这一句不能加 and  要用AND post_type = 'question' 用另一条sql方法:shutdown_query   $this->shutdown_query("UPDATE " . $this->get_table('posts_index') . " SET update_time = ".time()." WHERE post_id =  intval($post_id)  AND post_type = 'question'");

关于作者

问题动态

发布时间
2016-02-13 23:13
更新时间
2016-02-14 01:52
关注人数
1 人关注

相关问题

">/magic
关注了wecenter两年,终于建了一个网站!www.gangtieren.com.cn
<?php echo $this->question_list_bit; ?>调用
你好,想升级到2.5.6 ,下载了update.zip,不知道要放在哪
二次开发->调用话题添加
<?php echo $this->page_title;?>这个里面的参数在哪里配置
blockquote前面的<br>怎么去除
未能成功读取AWS_APP::session()->client_info
为什么手机端页面<header>部分不显示,官方的也是
编辑器太不人性了吧,连<p />都不支持,呜呜!!!