mysql - Unknown column 'xxx' in 'where clause'
巴扎黑
巴扎黑 2017-04-17 15:45:28
0
3
618

这个字段是存在的,在数据库编辑器中可以查询到.

巴扎黑
巴扎黑

reply all(3)
刘奇

Try this sql: select `id` from `user` where `account` = ?

大家讲道理

Have you checked the case? If that still doesn’t work, you can add single quotes to the account. Also? Also add a single quote

黄舟

Have you set up the database? use db.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!