PHP Syntax validator?
<p>Im just wondering if theres a recommended syntax validator out there anybody can recommend?</p>

<p>Having major issues and cant figure it out...</p>

<pre><code>    &lt;?php 
    session_start();
       if (isset ($_SESSION['id'])) {header("location: home.php");} 
       if (array_key_exists("login", $_GET)){$oauth_provider = $_GET['oauth_provider'];
       if ($oauth_provider == 'twitter')
       {
           header("Location: login-twitter.php");
       }  
       else if ($oauth_provider == 'facebook'){
           header("Location: login-facebook.php");
       }
       }
    ?&gt;

 &lt;a href="?login&amp;oauth_provider=twitter"&gt;Twitter_Login&lt;/a&gt;
 &lt;a href="?login&amp;oauth_provider=facebook"&gt;Facebook_Login&lt;/a&gt;
</code></pre>
