Home > Backend Development > PHP Tutorial > 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
Release: 2016-06-13 12:25:04
Original
1170 people have browsed it

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类看下

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template