in reply to Form redirection
STARTING AND ENDING A FORM
print $query->startform(-method=>$method,
-action=>$action,
-enctype=>$encoding);
<... various form stuff ...>
print $query->endform;
-or-
print $query->startform($method,$action,$encoding);
<... various form stuff ...>
print $query->endform;
startform() will return a <FORM> tag with the optional method, action
and form encoding that you specify. The defaults are:
method: POST
action: this script
enctype: application/x-www-form-urlencoded
endform() returns the closing </FORM> tag.
You are using the non OO way, but the parameters should still be the same. Set your action to be http://www.edit.com
|
|---|