Support the ongoing development of Laravel.io →
ayyobro

ayyobro

Joined 25 Jul 2014

Statistics

Threads 3
Replies 93
Solutions 10
Articles 0

Associating view to user record

So I have a view where I loop through then display a company's employees into a table. We are implem...

0 Likes
2 Replies

Eloquent query to get posts in the past 24 hours with the most messages

So, I have a situation where users can add posts to a forum and then comment on those posts. What I...

0 Likes
1 Replies

How can I get to the certain page in pagination that comment is on after creating the comment?

Current I have a forum set up with some topics that people can reply to. I can easily create replies...

0 Likes
2 Replies
Solved
replied 11 years ago

Migrate and primary keys

Hmm... try adding a specific length to your strings, for example: $table->string('name', 250); L...

0 Likes
replied 11 years ago

Migrate and primary keys

code is a reserved word in sql I believe, can you change it to something else, like 'test_code'? Thi...

0 Likes
replied 11 years ago

Problem with route/controller

Can I see your routes.php? and the controller you are trying to reference?

0 Likes
replied 11 years ago
0 Likes
replied 11 years ago

What is the prefered way to retrieve related models?

if you are in your 'Hotel' model and trying to access the guests in the hotel, then (assuming your r...

0 Likes
Solved

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.