如何解决此错误?
SELECT user_id, CONCAT(firstname, ' ', lastname) AS fullname FROM user AND status = '1' in .../database/mysql.php on line 49
这是实际的代码:
$query = $this->db->query("SELECT user_id, CONCAT(firstname, ' ', lastname) AS fullname FROM " . DB_PREFIX . "user " . $except . " AND status = '1'");
我检查了这些字段,我的所有用户的个人资料中都有名字/姓氏。