【发布时间】:2019-05-31 13:16:32
【问题描述】:
if($limit== '400'){
$sql="SELECT * FROM report ORDER BY reportID ASC LIMIT $limit WHERE userID='$reportID'";}
说"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE userID='147'' at line 1"。
任何可以帮助我的人。我是php编程语言的初学者。
【问题讨论】: