select * from dbxx3 where id < order by id desc limit 16
执行错误: 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 'order by id desc limit 16' at line 1
- /www/web/2shou/500923_com/public_html/SpeedPHP/Drivers/mysql.php on line 62
61.
}else{
62.
63.
spError("{$sql}<br />执行错误: " . mysql_error());
}
- /www/web/2shou/500923_com/public_html/SpeedPHP/Core/spModel.php on line 217
216.
{
217.
218.
return $this->_db->exec($sql);
}
- /www/web/2shou/500923_com/public_html/SpeedPHP/Core/spModel.php on line 220
219.
// query是runSql的别名,向前兼容
220.
221.
public function query($sql){return $this->runSql($sql);}
- /www/web/2shou/500923_com/public_html/controller/geci33.php on line 25
24.
$rand_id=$id;
25.
26.
$ret1=$dbbt->query("select * from $table where id <$rand_id order by id desc limit 16");
while ($row=mysql_fetch_assoc($ret1)){
- /www/web/2shou/500923_com/public_html/SpeedPHP/spFunctions.php on line 24
23.
// 路由并执行用户代码
24.
25.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
- /www/web/2shou/500923_com/public_html/index.php on line 43
42.
43.
spRun(); // SpeedPHP 3新特性