I got an error with this code and the error is just from 'verification'< 25 The "less than" operator is the issue when I change that with => it does not come up with an error. How do I rewrite this query?
$allRecords = DB::table('users')->select(DB::raw('CONCAT(name, " ", last_name) AS name'),'email as email_address')->where(array('verification'< 25,'is_admin'=>0,'is_approved'=>1))->orderby('id', 'DESC')->get();