My question is similar to this thread : Laravel relationship with a 3 column pivot table But it seem...
Excuse me, is there anybody can help me? 3 days, I still cant find any results by searching from int...
Hi, I am trying to build a form with dynamic fields. Fields are based on select box choice and can d...
This is a example of my model relation code today: public function Discipline() //relation { ret...
Script MySQL - Works correctly select * from ( (select agregados.nome as agregado, recursos.tipo, li...
I have three tables: Tournaments, Participants, Users. The structure is: Tournaments: -Id -D...
Hi, this query can be injected using this text 'a% ' (remove quotes) $courses = Course::select('id',...
Hi, I generated a MySQL query which gives the correct output I require (tested on MySQL Workbench)....
Hey guys, I'm new to laravel and i have 2 tables Userand Task. Inside my Task table i have CreatorID...
Hi, Is it possible to do a "hasManyThrough" with "Many-To-Many" relationship (pi...
i am creating a website where user will post a comment,i want to create a upvote and downvote syste...
I am facing this issues of model find for existing id that is returning null and showing below error...
Hello!! I am new in Laravel society. :) And I stuck with something. I made view in database and I do...
Hello, I want to build a eloquent query which builds this output SELECT * FROM `banners` WHERE (`val...
public function searchresult (Request $request){ $keyword = $request->name; $search = Mosque::wh...
Hi, I have two tables (hotels, cars) and a many to many relationship to determine which cars ara ava...
I have seen on tutorials people declaring the foreign key on one to many scenarios and others do not...
Hi, i want to make a query for laravel voyager bread-list result. How i can do this in the model? Th...
Hi. I have the following relations in the app I am working on. I have a Bank model or Component as w...
in previous thread iv posted my problem with update function, the problem is the database wont upda...
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