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 '-1' at line 1 select * from `boblog_blogs` limit 0,-1
这个表里面有一条多条记录,为什么是-1呢?
我需要帮忙,先谢谢各位大大了。
[该贴被修改 1 次,最后修改时间 2006-09-01 08:42:44 ]
Linji's Blog http://www.linji.cn 网站环境: PHP版本: 5.1.2 服务器操作系统: Linux MySQL版本: 5.0.18-standard-log GD库版本: bundled (2.0.28 compatible)
看文档: 1.出现"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 '-1' at line 1"错误 解决方法:"参数设置"那把"MYSQL支持查询方式"打勾去掉即可.