Hi there, in my application I want to return a paginated list of users. I would also like the number...
Hi, on line 9 of your controller, try changing $weapon = Auth::user()->weapons(); to $weapon = Au...
Is there a particular reason that you aren't using Eloquent? This seems like a good use case. Create...
You should have two models: User and Weapon. user_weapon is the name of the pivot table. You don't n...
The Laravel portal for problem solving, knowledge sharing and community building.
The community