Question: When using the $\_GET[] in php, it searches for a variable e.g ?id=value

Is there a way to call the #value instead?

Answer: 
No, because the hash part of the url is client-side only and is not sent to the server.

When you enter an URL such as `http://server.com/dir/file.php?a=1#something` in your browser's URL textbox, the browser opens a connection to the `server.com` and then issues a HTTP command `GET /dir/file.php?a=1 HTTP/1.1`. This is the only data sent to the server. 
Hence, the server never gets the `#something` part, and this means there is no script on server side you could write to read that value.

Similar question explained here: [How to get Url Hash (#) from server side](https://stackoverflow.com/questions/317760/how-to-get-url-hash-from-server-side)
I've been able to work around it by getting the fragment via javascript and sending an ajax request with the fragment as the $\_GET contents.