SyntaxFix
Write A Post
Hire A Developer
Questions
You can use WhereNotIn in the following way:
WhereNotIn
$category=DB::table('category') ->whereNotIn('category_id',[14 ,15]) ->get();`enter code here`