I'm trying to order my data, by the "belongsTo" association. Model: Contact BelongsTo: Age...
I have the following controller and models. Controller public function index($slug) { $d...
Is there a way to build a query on checkboxes values? I have 7 checkboxes, then only if a single che...
I would like to simple database application with add delete modify and view functionality. Kindly su...
Hi there, I'm very new to Laravel and I'm creating a dummy blog application to help me understand th...
Hi ! I've a problem with a fresh install of laravel 4 I make a migration files with some columns and...
Hi, How can I debug the result of this please ? $result = $this->hasMany('UserGrade'); count($res...
Hi, For context, the web server I'm using is IIS. I need to connect to SQL Server using Windows doma...
I just installed Laravel 4.0 and I'm trying to get it connected to my database. i've gone into my d...
Hi all, I've now been using Laravel for a month so I'm actually quite new to everything. I like the...
Hello, Just looking for an opinion here, as I can't get my head round what seems to be a trivial pro...
the code can't create data UserToken::on('user')->create($token_data); result: {"error"...
select * from `prices` where `prices`.`item_id` in ('1', '2', '3') and `created_at` <= '2014-06-2...
I'm trying to limit the results from a relationship based on results in another relationship. Here's...
Hey guys. Still having a bit of a hard time learning the relationships ^^ So i wanna print out all t...
Hello! I've looked through all the other threads regarding hashes and Auth:: and not one has been ab...
First, let me describe the conceptual behavior. I have two tables - a promotions table, containing t...
How can I modify the ~~~static::creating~~~ function to avoid "Column not found: 1054 Unknown c...
This is the code of my Eloquent model: protected static function boot() { parent::boot(); s...
I'm pulling an actor from the database. In the actor's view I want to see a list of all movies my ac...
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