SyntaxFix
Write A Post
Hire A Developer
Questions
want to use model in view as:
{{ Product::find($id) }}
you can use in view:
<?php $tmp = \App\Product::find($id); ?> {{ $tmp->name }}
Hope this will help you