How to get query in the URL after #
<p>I am using PHP and want to check links of the same page but with different trailing info. </p>

<p>The URL to the page normally is <a href="http://www.mypage.com/?about" rel="nofollow">http://www.mypage.com/?about</a> but if the user accessed it by clicking on the link SEND the user get send to <a href="http://www.mypage.com/?about#send" rel="nofollow">http://www.mypage.com/?about#send</a> </p>

<p>If the user clicked INFO they go to <a href="http://mypage.com/?about#info" rel="nofollow">http://mypage.com/?about#info</a></p>

<p>Question how do I check for <code>#</code> and what comes after it?
I tried <code>$_SERVER[query_string]</code> and it shows <code>about#send</code> and I only need to check for what comes after the number sign <code>#</code>. </p>
