i have a drop down list with witha certain value for each choice. i would like to be able to include a variable passed from a previous page and then passed to the next when a choice is made on the drop down list.
this is what gets generated in HTML from a function that i created.:
##############
<form method="get" action="page.php" name="searchForm" onSubmit="return onlinejumpMenu()">
<select name="id3" CLASS="select" onChange="this.form.submit()">
<option value="3">Category</option>
when this list bix is changed the link in the new window is page.php?id3=3
###############
i would like to to be able to include another variable passed fmor a previous page.
i have tried:
-action="page.php?id1=$var1&id3=3"
-action="page.php?id1=$var1"
-<option value="id1=$var1&id3">
##############
<form method="get" action="page.php" name="searchForm" onSubmit="return onlinejumpMenu()">
<select name="id3" CLASS="select" onChange="this.form.submit()">
<option value="3">Category</option>
when this list box is changed the link in the new window is page.php?id3=3
what i am getting is usually an encoded URLS like "page.php?id1%3D3%26id3=3"
###############
any idea how i can do this?
i hope this makes sense.