I am using Laravel 5.1.24. I have a simple 'Product' table created in db (MySQL5.5) like this: CREAT...
Such like the title.
hi im with laravel 5.1 im trying to fetch data from table. categorys and products categorys has foll...
I am developing a product and category relationship. where i wanted to show to which category, a pro...
Hey guys, I have a table with products and a table with categories. I don't use the products.id and...
Heya, i'm a newbie with Laravel,i'm trying to show some specific informations from my database, but...
First I have this 'User' model <?php namespace App; use Illuminate\Auth\Authenticata...
I"ve following relationships: Heartbeat belongs to Entity Entity belongs to Branch Branch belo...
How can i prevent duplicate Shop data(shop_name)? when I dd($data) it return null; ** Database: ** |...
Hey, I have one model where i set $with variable to always take a relationship. But i have one case...
If in my Blade template I had this: @foreach($entries as $entry) <li>{{$entry->filename}}&l...
Hi ! I have a table named professor_turma, which has some importante keys: ´cod_professor, cod_disci...
How do i get the enum options from an enum field? I have a field in Users called Role, in the databa...
I've got a problem with a foreign key on my articles table, i want to associate a user for each arti...
SOLVED My mistake, I mixed up the model relationships :) Hi guys, I'm new Eloquent (usually use raw...
I am doing ajax call on click of submit button. then that call goes to controller. In controller i w...
Sorry my bad English... In my vagrant debian virtual machine show error on connect sqlsrv database E...
Hi, I am trying to fetch ALL rows from a table in my dB. I need to get all rows because the data is...
I store these columns in some of my Models, my question is, should I store the users id or the users...
Hi everyone. I'm a junior dev at an agency building a site for a client with Laravel and Angular tha...
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