Posted by Al on 01/20/06 04:27
> Why not put both methods in mynewpage.php and choose which one to use
> depending on which button is pressed?
Somewhere else might be a different site.
Having said that, if "somewhere else" can take GETs rather than POSTs,
you can direct all form traffic to one php file and see which submit
button name/value pair is activated and then either run the script if
it's "here" or do a header("Location: ") if it's the "somewhere else"
one... But that IS a little odd, and the javascript method is a little
smoother.
Navigation:
[Reply to this message]
|