what blade syntax retrieving following query response? data eager loaded. each image linked separate table. how access object within object in blade? pretty new laravel. thanks!
controller
in action need pass data blade view:
return view('someview', compact('images'));//name of variable $images
view
just use variable:
@foreach($image $image) {{-- --}} @endforeach
Comments
Post a Comment