What? Maybe show some code?
May 11, 2021
6
Level 1
Laravel route multiple parameters on query string
Hello there, I'm new here. I have a route with 2 required parameters and in a case i pass these 2 parameters with 3 other optional variables. When the function builds the route i get an url where in the query string the separator & is replaced by &.
What I wrong? How can I solve this? Thank you very much
Matteo
Level 27
In what context exactly are you getting the URL like that? Did you assing the URL to a variable and try to display it somehow? You can prevent escaping using {!! $variable !!} inside your blade files.
https://laravel.com/docs/8.x/blade#displaying-unescaped-data
Please or to participate in this conversation.