What I try to do is a relationship with eloquent between a model called "Location" and a m...
Hi, I have two models, "Article" and "ArticleDescription". "Article" h...
I have a system I will be developing that has an admin side and a client side. The users for each en...
I am using sqlsrv to connect to Microsoft SQL server 2008. If I put the following in my view {{ $use...
Hi for example I have controller and in this we have below code $categories=Category::with('parent....
I have a SQL, for a table name "students" SELECT Institution_Name, Count(Institution_Name)...
i'm unable to store data of a signup form in my database table, plz help
I'm running a query on Eloquent, I search on a table for a row ID, On Eloquent I'm using: Video::fin...
Well, i don't know why it's happening. I have no idea at all. I got a code in my controller like thi...
QUESTION: How can i filter this that if i fetch "$user->subjects" i get all subjects to...
Hello, I have the following query: DB::select("SELECT * FROM mod_dns_records WHERE (scheduled =...
I am new to Laravel, and am migrating an existing app done in another framework. I want to extend th...
What I want to accomplish is: I have a list of project Project has a column "type" and it...
Hello. I'm working on a little project and ran across a problem. (See the ERD for the design). I wan...
I would like to understand how to rewrite this query created with "Scheda builder", with E...
I need when deleting a record it will also create a deleted_by value. [company table] | name | creat...
Hello everyone, I'm very new at Laravel and trying to understand Eager Loading. I've just added some...
Hi All, I'm currently building out a new appl in Laravel 5 and for ease of organization have moved a...
While Fetching data from database and displaying it on table rows, we use @foreach(). But what if th...
Hi guys! I am trying to figure out how to create a class that contains methods with commonly used qu...
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