Support the ongoing development of Laravel.io →

yaim

Joined 28 Jun 2014

Statistics

Threads 1
Replies 2
Solutions 1
Articles 0

Laravel belongsTo not working

I have 2 models in my app, 'User' & 'MedicineType' (each User belongs to one MedicineType). I ma...

0 Likes
2 Replies
Solved
replied 10 years ago

Laravel belongsTo not working

I change "medicine_type" to "medicineType" and everythings got OK...

0 Likes
Solved
replied 10 years ago

Laravel belongsTo not working

blackburn1911, I tried... But it didn't work...

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.