Home  >  Article  >  Backend Development  >  DB:update('pvtbs'"set views=views+1""lm="$lm." and uid=$uid"1); 不能执行 应该如何写

DB:update('pvtbs'"set views=views+1""lm="$lm." and uid=$uid"1); 不能执行 应该如何写

WBOY
WBOYOriginal
2016-06-13 12:25:041153browse

DB::update('pvtbs',"set views=views+1","lm=".$lm." and uid=$uid",1); 不能执行 应该怎么写
DB::update('pvtbs',"set views=views+1","lm=".$lm." and uid=$uid",1);  不能执行 应该怎么写
------解决思路----------------------
你是用自己的类操作数据库,别人如何知道怎么写?
------解决思路----------------------
把执行的代码贴出来啊....
------解决思路----------------------
不能执行有无报错?
------解决思路----------------------
贴出db类看下

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn