php: submit form to current page keeping current url variables

Joined
12 Feb 2006
Posts
17,625
Location
Surrey
got a small problem google doesn't seem to have an answer for

i have a page with a few variables in the url which are required, if they aren't there the user is redirected to another page.

on the page i also have a small form which filters out what is displayed. the trouble i'm having is getting the form to submit the information using the get method and add a & rather then ? to the current url variables.

i currently do a for loop to make a string of whats in the url. it's then getting the form to realise variables are already there so another ? isn't needed.

thanks.

hope that made sense, me getting rather sleepy
 
Back
Top Bottom