John-Marc,

I am trying to use your method above for another scenario and have a slight issue...

I want a newsletter form to reside on index2.php
1) If it hasn't been submitted I want it to display the form
2) If it's submitted and not correct I want the form to display with an error message
3) If it's submitted and correct I just want it to say "thanks" and not display form.

Here's the code I have:
PHP Code:
<?php
    
if ($_POST['submit']==''){
  include 
'include/passport_signup.html';
 }
  if ((
$_POST['submit']=='Send Me Deals!') || ($_GET['page']==1)){ 
  echo 
"Thank You";
  
 }
 if (
$_GET['page']==2){ 
  echo 
"Please enter a valid email address";
  
 }
?> 
Can you help?