公告
财富商城
积分规则
提问
发文
2019-09-15 02:22发布
萌系小妹纸
If table column does not exist mysql shows error .How to fix it using try catch or error handling method
Thanks
you can handle the mysql error in this way
mysql
error
if ( ! $this->db->query('SELECT `name`,`age` FROM `example`')) { $error = $this->db->error(); // Has keys 'code' and 'message' }
最多设置5个标签!
you can handle the
mysql
error
in this way