PHP If else if not working correctly
<p>When I click y link,it is going to x.Why is that ?</p>

<pre><code>&lt;a href="test.php?hello=x"&gt;x&lt;/a&gt;
    &lt;a href="test.php?hello=y"&gt;y&lt;/a&gt;
    &lt;?php
    if(isset($_REQUEST['hello']) == 'x')
    {
    echo 'x';
    }
    else if(isset($_REQUEST['hello']) == 'y'){
    echo 'y';
    }
    else
    {
    echo "else";
    }
</code></pre>
