Hi
Hope some1 can help a newbie
I need to build a form in php file (using html tags) that will pass the values to a 3rd party website, but what I need is to redirect to another page after submitted.
Example:
My html shows something like:
<FORM ACTION="http://www.anotherdomain.com/program.php" METHOD="POST">
<INPUT TYPE="TEXT" NAME="lastname" SIZE="20">
<INPUT TYPE="SUBMIT" NAME="send" VALUE="Send Info">
</FORM>
But after the submit button pressed it send the visitor to: www.anotherdomain.com/program.php obviously
What i want to do is that the form sends the value to www.anotherdomain.com/program.php but then the browser goes to www.mydomain.com/thankyou.html instead.
So the forms just post the info but doesnt send the visitor to the posted url
any idea how to setup this?
thanks in advance