99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
2019-02-25 閱讀量: 852
SQL語句報錯

問題描述:

$sql="select * from student where studentid={$studentid} and likeclassid={$classid}";

報錯如下:

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 likeclassid=1176' at line 1

解決方法:

語法上應(yīng)為 classid like {$classid}

但既然是like了就要模糊匹配,取決于你想匹配的內(nèi)容使用%,*。

0.0000
2
關(guān)注作者
收藏
評論(0)

發(fā)表評論

暫無數(shù)據(jù)
推薦帖子