guo68 发表于 2012-2-2 12:24:15

品牌名称 不能 有 &,不然会出错

品牌名称 不能 有 &,不然会出错

错误码内容:[*]ySQL Query:SELECT * FROM destoon_sell WHERE status=3 and thumb'' and username='这里是会员名' and brand='R ORDER BY addtime desc LIMIT 0,2
[*]MySQL Error: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 ''R ORDER BY addtime desc LIMIT 0,2' at line 1 MySQL Errno:0
[*]Message:MySQL Query Error复制代码是咋的?

caums 发表于 2012-2-2 13:26:47


嗯!是个问题!顶!!
页: [1]
查看完整版本: 品牌名称 不能 有 &,不然会出错