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...
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:...
Hello everyone, I am new to Laravel. I want to create a property search engine. my properties has an...
have an episodes table and an episode_Listen table, which is a One episode to Many listens I want to...
Hi there, How can I convert this SQL into PHP? UPDATE cashbooks SET amount = amount - (SELECT amo...
I'm new with relationships and eloquent. I still don't really understand working with eloquent and p...
Hello everybody, I'm a newbie and I have a question with relationship. Roles Permissions Role_Permis...
Hello I want to be able to access all the ratings of a category in ecommerce application. here are t...
Solutions given in the past year. Excluding solutions from thread authors.
The Laravel portal for problem solving, knowledge sharing and community building.
The community