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-23 13:26:00
Original
663 people have browsed it

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


回复讨论(解决方案)

你是用自己的类操作数据库,别人如何知道怎么写?

这个问题问的太有深度了。。。。

把执行的代码贴出来啊....

我用的dz的程序

不能执行有无报错?

贴出db类看下

不能执行有无报错?



没有报错

解决了  谢谢给位参与!

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