to whomever can help:
im reallly new to programming in general, so i need some help. i'm coding an interface for a postgres database and i don't know how to work it so that it goes to the correct page when submit is clicked.
right now i have two option boxes. i need to set up some conditional statement that will take the user to the correct page (there are six different combinations):
<tr> <!--activity-->
<td valign="bottom"><font color="#CC0000"></font></td>
<td width="150" valign="bottom">
<div align="left"><font face="Verdana, Arial, Geneva, sans-serif" size="-1"></font></div>
</td>
<td width="280" colspan=2 valign="bottom">
<tr><SELECT NAME="Activity">
<OPTION VALUE="Select">Select</OPTION>
<OPTION VALUE="Insert">Insert</OPTION>
<OPTION VALUE="Up">Update</OPTION>
</SELECT>
</tr>
</td>
</tr>
<tr> <!--table-->
<td valign="top" height="50"><font color="#CC0000"></font></td>
<td width="160" valign="top">
</td>
<td width="280" colspan=2 valign="top">
<tr><SELECT NAME="chooseTable">
<OPTION VALUE="org">Organization</OPTION>
<OPTION VALUE="trans">Transaction</OPTION>
<OPTION VALUE="Assets">Assets</OPTION>
</SELECT>
<tr><? echo "?"?></tr>
</tr>
</td>
</tr>
<BR>
<BR>
<table align="center">
<tr>
<td align="right">
<input type="submit" align="right" name="Continue" value="Submit">
</td>
<td width="100"> </td>
<td align="left">
<input type="reset" align="left" name="reset" value="Reset" onclick="resetClicked=true; return true;">
</td>
</tr>
</table>
i don't know where to code my "if statements". right below the buttons or on my main.php page or what. if anyone can help or at least point me in the right direction that would be great.
thanks,
mike