memii said: $locations = Location::with(['leagues.matches' => function($query) { $query->w...
Ah, my bad - I had ! empty and changed it to count, forgot to remove the ! Glad you got it sorted ou...
Without seeing the form data you're posting, it's hard to say. Throw a dd($valid_permissions) after...
Something like this ought to do the trick. Essentially, iterate through the posted permission identi...
This may sound like a silly question, but is the name of your table user or users? That would be why...
The Laravel portal for problem solving, knowledge sharing and community building.