dimanche 4 février 2018

Laravel Controller ignore if request true or false

I have in my Controller this code and try it before with true and false and 0 and 1, laravel ignore it. Now i have changed it to 1 and 2

if ($request->inactive == 1)

and

if ($request->active== 2)

But Laravel gives now an blank page, know anyone why?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire