The error I got : error pic: error # What I tried this is my table pic: table my form is like : <...
I'm pretty new when it comes to Laravel & I've been trying to code this mini-account management...
I have the following table structure: -projects -id -project_phases -id -project_project_phase...
I create a function for search $search = $request->get('search'); $search2 = $reques...
There are two tables which are in different databases. Let's say one of them is Users and another is...
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(...
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...
Hello everyone, I am new to Laravel. I want to create a property search engine. my properties has an...
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...
[I've used whereRaw on Subquery] Dear Sir, I have some problem on below, $withRanks = DB::...
How to insert in database number of the seat from the bus and check what seats are available. What I...
Hi, I'm trying to convert a query to models: My query: $article = DB::table('Article as A') ->joi...
Hi, I'm using Tinker to test my models, and whenever i attach something to a model, i need to exit t...
my Controller <?php namespace App\Http\Controllers; use App\Task; use Illuminate\Http\Request;...
i have a input fields to insert names to the database at the moment it works like every time i enter...
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