My model: class Boxstyle extends Eloquent { protected $fillable = array('BoxStyle'); my table...
I have a controller: $boxstyles = boxstyles::lists('boxstyle', 'id'); Model: protected $fillable = a...
hi all i have 7 tables i want to use union and get sum of column this is query i want to do it "...
Example taken form http://stackoverflow.com/questions/26757452/laravel-eloquent-accessing-properties...
I am building a Hotel Booking App and i got stuck with filtering a hotel and rooms while inserting a...
i want to run migration for multiple schema's using pgsql. Please help ! Thanks
please tell me how to do this off correct query select @a:=POW(max(count_votes), 1/10) from users;...
Hi there, I got three models, which are 'User', 'Role', and 'Permission'. User to Role, Role to Perm...
Hello, How to return Json Data from function in controller to view Here is function public function...
What I mean is, when I have a table that has the columns parent_id and lft and rght I'd like to have...
how to create global object or variable without singleton in laravel?
I have a 'create event' form where I'd like for the user to be able to submit info along with a date...
Hi I'm new to Laravel/Eloquent and am trying to use the following query with eloquent [L5]. 'SELECT...
Good day, i have a query which is being paginated. But i want to be able to paginate it via a form i...
I have a bootstrap modal popup that I will pull in as an include where and when needed, so its very...
My website has multiple data widgets that can be rendered for the user. These widgets are sub-views,...
Hello, I am trying to query two hasMany relationships, if an id is in the url I would also like to p...
I can get my file name into my database but how do you set the path for the file or image to upload...
Hi there, is there a way to add, update and delete an additional column to an existing Model/DB tabl...
If I use an MVC why can't I put all calls to the database inside my model? I'm watching Laracasts an...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community