我在编写此方法时使用 laravel 4 PHP Framework:
where_email_and_password($email, $password)
显示此错误:
SQLSTATE [42S22]:未找到列:1054 'where 子句'中的未知列'_email_and_password'(SQL:select * from
users
where_email_and_password
= ? limit 1)(绑定:数组(0 =>'email@example.com',))
查看代码和错误:http: //i.stack.imgur.com/dn85M.png