php - Add query param to url in the Laravel Controller -


is possible add parameter url route controller?

for example url is: myshop.com/order-finished

and method controller is:

getorderfinished() {   // want add param   myshop.com/order-finished?order_number=w00034335 } 

i want final url myshop.com/order-finished?order_number=w00034335, must add parameter order_number controller method.

edit: no redirections please

yes:

redirect('order-finished?order_number=w00034335'); 

Comments

Popular posts from this blog

ios - Assigning a value out of array of arrays, using section in Xcode -

r - XTS-File doesnt work for quantstrat -