title: php header cannot redirect
body: <p>I have implemented a simple signup page,which after the user has signed up must re-direct them to the thank you page, here is my code and it returns a blank page</p>
  
  <p>'
  save.php
  '</p>
  
  <pre><code>   if($mail-&gt;Send()) {}
  
      unset($_SESSION['GENRE_REQUEST']);
  
      }
      header('Location:thanku.php');
          exit();
      }
      else
          {
          header('Location:thanku.php');
          exit();
          } '
  </code></pre>
  
  <hr>
  
  <p>thanku.php</p>
  
  <pre><code> &lt;tr&gt;
         &lt;td align="center" valign="top"&gt;&lt;b&gt;Thank You for Registering With us.&lt;/b&gt; &lt;br /&gt;
          &lt;br /&gt;please activate your profile by clicking on the activation link sent to your email address.&lt;br/&gt;
         &lt;/td&gt;
    &lt;/tr&gt; 'a
                        '
  </code></pre>