I have a form, when submitted, it passes GET variables back to self. If i then go ahead and select another form value, in the URL, the current GET values stay, and the new ones are appended to the URL.
the URL after one submit:
adv_search5.php?row=ip_address&value=20.7.254.33&set=1
the URL after two:
adv_search5.php?row=ip_address&value=20.7.254.33&set=1?row=app_server&value=Yes&set=1
Code:
<input type="button" value="submit" onClick="window.location=self.location.href + '?row=' + document.myform.mylist.value + '&value=' + this.form.values.value + '&set=1';">
adv_search5.php?row=ip_address&value=20.7.254.33&set=1
the URL after two:
adv_search5.php?row=ip_address&value=20.7.254.33&set=1?row=app_server&value=Yes&set=1