what is wrong with my if statement in php?
<p>what is wrong with my if statement? i have tried all i can?</p>

<pre><code>if($admin == "Yes") {
   echo "&lt;a href='Home.php'&gt; Admin &lt;/a&gt;|&lt;a href='Home.php'&gt; Home &lt;/a&gt;|&lt;a href='profile.php?id=".$userid."'&gt; Profile &lt;/a&gt;|&lt;a href='games.php'&gt; Games &lt;/a&gt;|&lt;a href='Dev.php'&gt; Dev &lt;/a&gt;&lt;/br&gt;";
} else {
  echo "&lt;a href='Home.php'&gt; Home &lt;/a&gt;|&lt;a href='profile.php?id='".$userid." &gt; Profile &lt;/a&gt;|&lt;a href='games.php'&gt; Games &lt;/a&gt;|&lt;a href='Dev.php'&gt; Dev &lt;/a&gt;&lt;/br&gt;";
}
</code></pre>
