When I use this query:
$admin = \App\Admin::all();
It works.
But when I use this query:
$admin = \App\Admin::where('status', "ACTIVE");
Its shows blank! Even though when I use this query to show data at blade file, it's works!
Why?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/35dySVD
via IFTTT
Aucun commentaire:
Enregistrer un commentaire