`
lihong11
  • 浏览: 450454 次
  • 性别: Icon_minigender_2
  • 来自: 湖南
社区版块
存档分类
最新评论

mysql查询语句出错提示Unknown column 'zp' in 'where clause'

阅读更多
出现以上错的解决办法
如把select * from book where username=zp
这个改为
select * from book where username=’zp‘
就可以了,这样才是查询字符串型的
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics