Hi
In one of the subs in my script i have this form.
<FORM ACTION=$ENV{'SCRIPT_NAME'} METHOD=POST>
<input TYPE=hidden NAME=action VALUE=someplace>
<INPUT TYPE=SUBMIT VALUE="go to someplace">
</form>
But it doesnt work it keeps going to the main page of the script.
But if i put a text link in like this.
<a href=$ENV{'SCRIPT_NAME'}?action=someplace>Go to someplace</a>
That works perfectly Can anyone see why?
Nook6
In one of the subs in my script i have this form.
<FORM ACTION=$ENV{'SCRIPT_NAME'} METHOD=POST>
<input TYPE=hidden NAME=action VALUE=someplace>
<INPUT TYPE=SUBMIT VALUE="go to someplace">
</form>
But it doesnt work it keeps going to the main page of the script.
But if i put a text link in like this.
<a href=$ENV{'SCRIPT_NAME'}?action=someplace>Go to someplace</a>
That works perfectly Can anyone see why?
Nook6