Hi all, I'm creating a drop down list that gets populated using data from a database. Everything wor...
I have a form with a 'name' textfield. When i press send laravel checks if the username exists. If s...
I'm trying to work with SimplePie to pull numerous RSS feeds (which is working well); however rather...
Hello. I'm looking for a way to create dynamic appends to a model. right now i have something like p...
I did a simple query like: $query = "sdsad'sa"; Spot::where('title', 'like', '%'.$query.'%...
Im build my app localy, and Im afraid after Ill get some traffic in to it it will simply crash. and...
Hi. I perform $a = Items::where('code', '=', $code); In the code column there are various entries, u...
I have this in my car.php model public function bySortOrder() { return $this->orderBy('so...
I'm trying to get a Post inside a Session, but between Post and Session I have a Category Model. Eac...
Hi Can we do this query in Eloquent $tagString = implode (',', $tags); return DB::select (DB...
Sorry for my english, is not very good. I have a User model and I have a Post model. two models have...
Guys, good morning. Question about relationship. In this query it brings me a student and two servic...
Hi Guys, I have a query which it's toSql result is: select * from `jobs` left join `locations` on `j...
Hi i was checking my develop and i saw something wrong, the develop works apparently fine but just w...
I'm trying to relate a user model and a comments model. My user model has the following code.. clas...
This may be a weird question, but is there a way to seed the db from a migration? The reason is that...
DB::table('items')->where('id', $itemID)->increment('save',1); As above, is that possible or d...
I have two tables products (model: Products) product_common_auction (model: ProductCommonAuction...
I am running the below Controller method which gets data from a specific Campaign table by campaign_...
table data id name type 1 Plain PATTERN 2 Strip PATTERN 3 Checker PATTERN 7 Oxford FABRIC 8 Twill FA...
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