I have a problem that displaing table from database At page1.blade.php I can display the table. that is no problem.
However when I hit page2.blade.php (this file locate one lower folder) this error show up ErrorException (E_ERROR) Undefined variable: books
my code is like this @foreach ($books as $book) @endforeach
How to write correct code? Could somebody help me please.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IS2zju
via IFTTT
Aucun commentaire:
Enregistrer un commentaire