title: How to display success message after php script execution on form
body: <p>So I guess the title says it all, I've got a little php script hooked up to a single input form. All I want is a success page with a link back shown to the user after they submit their email. This should be easy however I'm very new to php.</p>
  
  <p>Anyway, here's the php and html code: </p>
  
  <pre><code> &lt;?php
  
    $visitor_email = $_POST['email'];
  
    $email_from = "LightDesigns";
    $email_subject = "Newsletter group";
    $email_body = "You have received a new person to add to the newsletter: 
    $visitor_email.\n".
  
    $to = "stefanvujic576@gmail.com";
    $headers = "From: $email_from \r\n";
    $headers .= "Reply-To: $visitor_email \r\n";
    mail($to,$email_subject,$email_body,$headers);
   ?&gt;
  
  
   &lt;section id="newsletter" style="margin-bottom: 0px;"&gt;
    &lt;div class="container"&gt;
      &lt;h1&gt;Subscribe To My Newsletter&lt;/h1&gt;
  
      &lt;form action="email.php" method="POST" name="newsletterForm"&gt;
        &lt;input class="emailBox_1" type="email" placeholder="Enter Email..." 
        name="email"&gt;
        &lt;button class="button_1" type="submit" class="button_1"&gt;
        &lt;span&gt;Subscribe&lt;/span&gt;&lt;/button&gt;
      &lt;/form&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p></p>