Support the ongoing development of Laravel.io →

MAC CLADDER

Joined 15 Mar 2022

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

Use foreign Key to display information from other table lae

Hi i am trying to retrive information using the foreign key but it doesnt work. `<?php namespace...

Likes Replies
replied 10 months ago

Use foreign Key to display information from other table lae

Here is the error i get now with the get() method ErrorException Attempt to read property "nom&...

0 Likes
replied 10 months ago

Use foreign Key to display information from other table lae

i did and now i have this error Call to undefined method Illuminate\Database\Eloquent\Builder::all()...

0 Likes
replied 10 months ago

Use foreign Key to display information from other table lae

Thank you. I will try. where should I put this code you wrote $rapports = Rapport::with('Rapport')-&...

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.

© 2023 Laravel.io - All rights reserved.