vendredi 4 octobre 2019

How to pass several $_GET parameters from blade anchor tags in Laravel?

so far I've passed one get parameter from an anchor tag like this:

<a class="zone" href="">Europe</a>

How to pass another one if I want to combine them both? If I do: <a class="time" href="">Today</a> than the zone parameter will be removed. How to pass both parameters to the same route from the anchor tags in order to have a url like this https://example.com/?zone=europe&time=today ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire