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