When your script redirects back to the original page (Should be something like: header("Location:/pagexyz.php"); ) just add a variable like pagexyz.php?subscribe=success
Then on your form, just wrap the form in something like:
if($_GET['subscribe']){ echo "Thank you!";}else{ #YOUR FORM INFO }
|