Welcome Guest, Not a member yet? Register   Sign In
change GET query string
#6

It is possible that I'm stupidDodgy but I really do not understand what do you need.

"I search page which gets filter using GET method. in some cases I can get  ?brand=&model=2   this kind of query where brand is empty. When I get this kind of get string I want remove 'brand'  from get field so it will be ?model=2"

"this way I can build the url I want but it does not change the url that is shown in url field of browser"

Try do describe situation when such ulr string is created in your code. Is it when you send filled form with method GET? Or is it somehow generated by script? Why is empty parameter making trouble to you?
Reply


Messages In This Thread
change GET query string - by neuron - 01-24-2017, 02:18 AM
RE: change GET query string - by Khanh Minh - 01-24-2017, 03:04 AM
RE: change GET query string - by neuron - 01-24-2017, 03:28 AM
RE: change GET query string - by Sezu - 01-25-2017, 01:47 AM
RE: change GET query string - by neuron - 01-25-2017, 03:58 AM
RE: change GET query string - by Sezu - 01-25-2017, 05:52 AM
RE: change GET query string - by neuron - 01-25-2017, 06:35 AM
RE: change GET query string - by Sezu - 01-25-2017, 06:52 AM
RE: change GET query string - by salain - 01-25-2017, 07:07 AM
RE: change GET query string - by neuron - 01-25-2017, 07:23 AM
RE: change GET query string - by Wouter60 - 01-26-2017, 03:29 AM
RE: change GET query string - by ivantcholakov - 01-26-2017, 04:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB