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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -