I'm learning Laravel, and really OOP in general. I've followed several YouTube tutorial series, that...
Hi everybody. I want create dynamically new database, database user with privileges, tables in new d...
i have many to many relation in my database and i can't change the default name of the pivot table C...
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...
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