dimanche 30 septembre 2018

How to pass multiple parameter from Form to URL in Laravel?

I have a form which has multiple input, from which I want to pass values of input to URL

<form method="get" action="">
 <input type="text" name="age" >
 <input type="text" name="first_name" >
 <button type="submit">Submit</>
 </form>

Route::get('search/{age}/{first_name}', 'SearchController@index');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire