Laravel this is not only a practical framework, it is also a programming style
How I get all records if a user is admin, if not is admin return only the user posts. I already try
Where('id',"=",$enum)->orWhere('Administrador','=','Administrador')->get();
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire