I need to sum values from my table but grouping month by month. Someone can help me?
Is it possible to update DB withoud edit form, just to generate random entires or set your own in co...
Hello Folks, My dev and I are trying to implement (DB) multi tenancy in a CRM and we are having issu...
I've gotten myself in a pickle trying to load records owned by a user with eager loading. I know I c...
When Call ->first() which returns record, then call ->delete(), then call ->first() again,...
Users Table Schema::create('users', function (Blueprint $table) { $table->bigIncrements('id'); $t...
I'm trying to make my notifications for Laravel 6 mail out effectively. I have a model (Event) that...
I have to import excel sheet from laravel to database table. Student Table: studentid studentname sp...
alnomany liked this thread
The error I got : error pic: error # What I tried this is my table pic: table my form is like : <...
I have the following table structure: -projects -id -project_phases -id -project_project_phase...
There are two tables which are in different databases. Let's say one of them is Users and another is...
I have a large database table (~1 million records) which I need to purge the duplicate records. The...
I am trying to eager load data from a many-to-many relationship in eloquent laravel 5.8. The below c...
Schema::create('costs', function ($table) { $table->increments('id'); $table->unsignedInteger(...
showing the error: Symfony\Component\Debug\Exception\FatalThrowableError Class 'app\Modo' not found...
Hi, Please refer below link and help me: https://stackoverflow.com/questions/58338282/cannot-get-the...
Dear All, I have query builder : DB::select("select `id`, `user_name`, `user_email`, (select s...
Hello! I'm in practice mode with Laravel, and I've tried this at least 80 different ways, based on t...
Hi, Is it possible to create a fake relationship between two models? Let me explain! I have two mode...
Laravel Version: 6.1.0 PHP Version: PHP 7.2.19-0ubuntu0.18.04.2 (cli) Database Driver & Version:...
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