table.blade.php 445 B

123456789101112131415161718192021222324
  1. @extends('layout')
  2. @section('title', "Form Data")
  3. @section('content')
  4. <h2>Form Data</h2>
  5. <table>
  6. <tr>
  7. <th></th>
  8. <th>name</th>
  9. <th>lastname</th>
  10. <th>city</th>
  11. <th>email</th>
  12. </tr>
  13. @foreach($data as $id)
  14. <tr>
  15. <td></td>
  16. @foreach($id as $forms => $item)
  17. <td>{{$item}}</td>
  18. @endforeach
  19. </tr>
  20. @endforeach
  21. </table>
  22. @endsection