Thanks for replying. I am still not clear on how to proceed.
The conditional must follow the selection process in the form, i.e., the form already must have been executed and therefore either one of the scripts needs to be executed.
Here is the example code:
<form method=post action=./form1.php>
[.. stuff deleted..]
<INPUT type=radio CHECKED value=J name=group>group1<BR>
<INPUT type=radio value=B name=group>group2<BR>
<input type="submit" value="... submit">
</form>
so the conditonal would have to be located in form1.php. If group2 is selected then I would need to execute form2.
Any ideas on how to do this more elegant?
Thanks.
Greg wrote:
use a conditional:
if ($dec=="nonsecure){
execute the non-secure script
}
else {
execute the secure script
}