Hellow, I have two models as project and collaboratos in my laravel app. and in collaborator model contain project_id column. I have one blade file need to print project_name to relate to project_id. My blade file generate with collaborator Model.
<h2><a href="/collaborators//">{!! $proj->project_id !!}</a></h2> // I need print project Name instead this project_id
how can I print project_name of project Model using collaborator_id of collaborator Model?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire