Résultat de la recherche : {{ $key }}
@if(count($result)) Environ {{ count($result) }} résultat(s) @endifAucun livre correspondant...
{{ $book['titre'] }} - {{ $book['auteur'] }}
@if ($book['etat'] == 0) @endif{{ substr($book['description'], 0, 200) }}...
Très utile en : @php $i = 0; $book_disc = \App\Models\Book_Discipline::all(); $disciplines = \App\Models\Discipline::all(); @endphp @foreach ($book_disc as $b_d) @if ($b_d['book_id'] == $book['id']) @foreach ($disciplines as $discipline) @if ($discipline['id'] == $b_d['discipline_id']) @if ($i == 0) {{ $discipline['nameDiscipline'] }} @php $i = 1; @endphp @else , {{ $discipline['nameDiscipline'] }} @endif @endif @endforeach @endif @endforeach .