Mysqli執行錯誤:select * from cplust_banner2 where id <> and category= and pub = 1 and sort > order by sort asc limit 0, 1
錯誤代碼:1064
錯誤訊息: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 'and category= and pub = 1 and sort > order by sort asc limit 0, 1' at line 1
Mysqli執行錯誤:select * from cplust_banner2 where id <> and category= and pub = 1 and sort < order by sort desc limit 0, 1
錯誤代碼:1064
錯誤訊息: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 'and category= and pub = 1 and sort < order by sort desc limit 0, 1' at line 1