vendredi 16 mars 2018

Laravel how to use if stament in controller

I have 2 functions(index and dateRange) . In index.blade.php ı want to use if statement to choose which function it will run. but when ı type : index{ if($request['from'] != null ) { //run this} but this time the indexController not runs request()->ajax() this if statement }.. how can i handle

Aucun commentaire:

Enregistrer un commentaire