Support the ongoing development of Laravel.io →
Belar

Belar

Joined 1 Feb 2014

Statistics

Threads 2
Replies 19
Solutions 4
Articles 0

BetaUp the pre-launch package

#####About BetaUp It's a basic package which let's you set-up pre-launch website fast and easy. Afte...

0 Likes
4 Replies
posted 11 years ago

Handy filters

Trying to be as active as on the old forum I found out it's kind of hard to keep track of topics we...

0 Likes
0 Replies
replied 11 years ago

Accessing data from table using relationship

Well, here is the problem. Find() function is looking for ID column in your posts table, but it's no...

0 Likes
Solved
replied 11 years ago

Problem with relationships between three tables

Personally I would go with Many-to-Many relations, the most versatile. I don't play golf, so don't r...

0 Likes
replied 11 years ago

Accessing data from table using relationship

Well, I think you will have problem with User<>Post relation later with wrong foreign key (unl...

0 Likes
replied 11 years ago

Accessing data from table using relationship

public function comments() { return $this->hasMany('Comment','comment_id'); } Has many Comment,...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.