I'm a member of Laracasts and have watched Jefferies video on public static functions. I am learning...
Hello, I need change query from Mysql to Eloquent here is code SELECT SUM((id_user=7) * `commission...
I have this basic model of a Contest with several Events, where each Player can have one result per...
Hello, how to sum column commission if id in the same table =7 Thanks
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,...
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