First of all, I'm new to Laravel. I come from Codeigniter where you can have something similar to: c...
Let's take the example from the documentation. The database structure looks like this: posts id...
I have a doubt about the Laravel select query. I am explaining my requirement here. I want to select...
I'm having a bit of trouble making this work properly when querying with Eloquent, here's the model...
Is possible to create custom model events as creating, created, updating, update, ...? Thanks in adv...
I'm unable to wrap my head around why I'm getting "Cannot use object of type stdClass as array&...
hi, i want to create a like and dislike buttons on a post, which save the status of the user in a li...
Some of the columns in my tables have data that has been serialized. I can easily fetch a row and it...
Hellow all! Is the table structure: doctors id - integer title - string clinics id - in...
I am building an new application using Laravel and i want the user/owner to be able to create regist...
Hi! I try to solve my error, but I don't find solution. I try to get all exercises in my table exerc...
Im new to laravel and i wish to add some data to my database, im following tutorial from lynda.com U...
I have component A, users, which connect to component B, addresses. One user has one address, always...
In my migration code I have: if (Schema::hasTable('activity_log')) { Schema::table('activity...
Currently I am retrieving product results for a category like this: $products = $category->produc...
Hi! I have two tables, tasks id startTarget endTarget status targets id title I need get all tar...
Hi, Is it possible to filter the data returned by relationship using values in the parent class Prog...
I would like to left join data from a many-to-many relationship. In my first attempt to solve the pr...
shikhar-kr liked this thread
When a checkbox is not checked, it gives no value back. How to handle this in your model when updati...
Hello I need to remove null coming from database , after using this code $school_dropdowns = DB::tab...
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