Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //get the department
- $department = department::where('user_dep', '=', 1)->select('dep_id')->get();
- //but seems the department retrieved an array, which I dont want, I want only the content
- $notification = notification::where('department', '=', $department)->get();
- $notification = notification::where('department', '=', 1)->get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement