Support the ongoing development of Laravel.io →

thomasnares

Joined 6 Oct 2014

Statistics

Threads 2
Replies 2
Solutions 0
Articles 0
posted 9 years ago

Eloquent relations - need confirmation

Hi, lets imagine i have a Eloquent model "Picture" (table pictures), with : -id -path And...

0 Likes
5 Replies

Blade layout, and include with sections. Is this the good way to do it ?

Hi, i'm pretty new to Laravel/Blade and templating systems, but not new about php. Also, english is...

0 Likes
0 Replies
replied 9 years ago

Eloquent relations - need confirmation

Ok, i see what you mean :) thanks, and yes, i'll check polymorphic ! Thanks again

0 Likes
replied 9 years ago

Eloquent relations - need confirmation

If i use hasOne, eloquent told me that i does not find the category_id field in Picture table. My DB...

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.

© 2024 Laravel.io - All rights reserved.