this is my blade showing codes instead of the interface that i wanted to show : https://i.stack.imgur.com/JSMzL.png
this is my blade
<div class="container">
<div class="row">
@foreach($details as $details)
<tbody action="{{!! action('DestinationDetailsController@details') !!}}" method="get">
<img src="{{!! asset('img/admin/' . $details->dest_img) !!}}" alt="Opps..." style="width:70%;">
<h2>{{!! $details->dest_name !!}}</h2>
<p>{{!! $details->dest_desc !!}}</p>
</tbody>
@endforeach
</div>
this is my controller looks like
public function details($id = null)
{
$details = DB::table('destinations')->where('dest_id',$id)->first();
return view('destinationdetail')->with('details', $details);
}
im very new in development world so i really need to learn from this kind of simple mistakes :)