Hi everyone! I have a partial problem in 1 to many relationship. I am trying to create 3 AJAXed drop...
I am currently building a menu/category package for my blog which should have the ability to be unli...
I'm trying to use an if statement: if('0000-00-00'!=$method->date_field) { do this } Then f...
Hello ! i'm trying to sync a polymorphic pivot table from the morphedByMany side of a relationship....
I once did an eager loading query and it worked. Then using model binding i'm trying to update my...
Hi, I have a model that in combination of 3 fields it needs to be unique. for example: protected $r...
hi, I am using a polymorphic relationship to connect categories and pages together. A category can h...
I have three table: table HouseHold(HouseHoldID) table Member(HouseHoldID,MemberID) table PatientCa...
I know you can get the insert id of a query with: $query->id But is there a way to get data back...
I loved the idea of repositories but Im having problem on how to convert those eloquent objects to g...
Hi, It seems a bit overkill what I have, after some searching I finally got my query working but not...
Hi, I'm quite new to laravel, so trying to get the hang of the best practices at the moment. Today I...
My Form: @extends('layouts.master') @section('content') <div id="admin"> <h2&g...
Hi I just cant wrap my head around One To Many Relations. They seem to never work for me. So i start...
I have 3 models... Category, Post, and Vote In my category view, I am showing an index of all Posts...
I have a User model, and an Item model. Each Item has one Category, and each User has a "benlon...
I have a form where a user can update several profile fields such as username, email, location, etc....
$data = Img::with(array('size'=> function($query){ $query->select('title', 'width', 'img_id'...
Salam, I want to add some new elements to a Eloquent Collection with the add public function, but I...
Hi frnds, way to convert codeigniter code to laravel Class user{ function select_cond($userdata = ar...
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