Hi, I've got this in my code. $list = $the_things->where( 'date_field', '>', time() ); That d...
I'm curious as to how much escaping and input sanitizing Laravel does behind the scenes. For instanc...
Hi guys! I have two databases main and beta. In my database.php file I have setup the connection to...
http://laravel.io/bin/Nk3v#2 I thought I had everything working, until I added this last foreign key...
Hi, this is my first thread so if I doing wrong some things please don't hate me :) I'm using Migrat...
I'm trying the create a model instance including it's relations, but i can't seem to find a proper w...
I want to know the best and simple way to setup routing for this: I have a form that posts to /prici...
tableA that contains 2 particular columns. idA, idB tableB has 1 column that those are mapped to. id...
Hi, I've read the eloquent docs, but can't seem to find the answer - am I missing something? I am tr...
Hi all, I have an issue I can't seem to figure out..... I want to use Ajax/jQuery to get data from a...
Hi folks, I've got customers, and projects which belongs to customers. There's a customers table, an...
I'm working with Laravel. Trying to work out the best conversion for below. Would I use query builde...
Hi All, I cannot find this in the docs or on SO, so i figured I would post my question here: I have...
Laravel has a first method when accessing an Eloquent model, but is there a way to get the last reco...
I wonder if it is possible to order by list of strings using eloquent? http://stackoverflow.com/ques...
Find By Id Using find() $post = Post::find(2); $post->setHidden(['content','read_more','updated_...
Hi! I'm really newbie and I'm not sure how to do queries with Eloquent. My SLQ query is this: SELECT...
i have this join: $mains = Main::join('builds', 'mains.build_id','=','builds.id')->where('builds....
i have an form that is set to upload an image and update a database with the image data (if needed)....
My application has to adapt to an existing database which uses integer timestamps instead of string...
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