I have a submit form that when the user hits submit returns the results to same page via $PHP_SELF, but the variables set prior to the submit are lost. Here is my submit form:
I want to keep the variables from the URL line
Much thanks
<form action="<? echo $PHP_SELF ?>" method="GET">
<tr>
<td width="35" rowspan="2" height="46"></td>
<td width="135" height="20" valign="middle" align="left"
<font face="Arial" size="2" color="#000060"><b>Search By:</b></font></td>
<td width="150" height="20" valign="middle" align="left"
<font face="Arial" size="2" color="#000060"><b>Enter Account Criteria:</b></fon
t></td>
<td width="75" rowspan="2" valign="middle" align="center
" height="46"><input type="Submit" name="submit" value="Search"></td
</tr>
<tr>
<td width="130" height="26">
<select name="where">
<option value="1">Account Number</option>
<option value="2">Account Name</option>
<option value="3">Account Rep</option>
<option value="4"selected>List All Accounts</option>
</select>
</td>
<td width="150" height="26"><input name="keyword" size="
19"></td>
</tr>
</form>