I have set up a Polymorphic relationship as follows: class Charge extends Model { public functi...
I'm building a site concerning nightclubs, events and booths - the idea is a user can book booths fo...
I am building a site which allows fitness instructors to publish a timetable of classes they teach....
I am doing something simple like the following: // Controller $activities = Activity::all(); $activi...
I have written some code that allows the user to filter a collection of activities by certain attrib...
Thanks for your reply - you're exactly right. I did in fact try this method but it didn't seem to be...
Yeah I could code it into the controller but I make this call so many times I'm going to be repeatin...
Ah rite ok I understand. Thanks for all your help!
iClosedz said: Did you try $activities = Paginator::make($activities, count($activities), 10); $ite...
I've noticed a typo in the code I typed above - I actually use $activities = Paginator::make($activi...
The Laravel portal for problem solving, knowledge sharing and community building.
The community