Trying to fix a ParseError syntax error, unexpected end of file in laravel

  laravel, php, syntax

So I’ve been getting the error for a bit now, and I can’t find anything wrong with the code, was hoping for a little bit of help, since Laravel is still rather new for me, so I’m not 100% on some terms and such.


<h1> Orders </h1>
<p> No orders here </p>
<div class="table-responsive">
    <table class="table table-hover table-dark ">
          <th scope="col">#</th>
          <th scope="col"> Content </th>
          <th scope="col"> User </th>
          <th scope="col"> Created at </th>
          @foreach($orders as $order)
          <th scope="row">{{$order->id}}</th>
          <td>@foreach(json_decode($order->order_list) as $item)
              <p> {{$item->name . ',' . $item->qty . ' x ' . $item->proxe . '=' . $item->subtotal}} </p>

Sorry if my question is kinda dumb, but I thank you for any help!

Source: Laravel

Leave a Reply