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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire