I need this code to display on all pages in the url. Is it possible to do it without having to give the hyperlink (index.php?access=$_GET['access']).
Impossible. You cannot place the name/value pair in the URL without placing the name/value pair in the URL.
On the other hand, you can use methods like cookies and sessions to pass the data around, if you remove the requirement of passing via the query string in the URL.