Home  >  Article  >  Backend Development  >  框架中做分页显示时出现上列有关问题

框架中做分页显示时出现上列有关问题

WBOY
WBOYOriginal
2016-06-13 12:51:44728browse

框架中做分页显示时出现下列问题
首先说明一下情况;分页代码在测试时没有问题;
但是在后台框架中,访问时,就会出现下列问题
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's' at line 1


有没有知道是怎么回事的?
主要是不明白这个 near‘s’指的是哪个地方呢?


ps:小弟比较急用呢


------解决方案--------------------
能否将你出错的sql输出一下
------解决方案--------------------
...to use near 's'
他不是告诉你在孤立的 s 处吗?
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