Take the tour ×  I am new in PHP and I am doing some work I have
two Page 1) link.php 2) golink.php   <li><a
href="golink.php">Home</a></li> <li><a href="golink.php">About
us</a></li> <li><a href="golink.php">Highlights</a></li> <li><a
href="golink.php">Price</a></li> <li><a
href="golink.php">Location Map</a></li> <li><a
href="golink.php">Payment Plan</a></li>  When I click any link,
I want to get the name of that link in golink.php page.
Example:- If I click Home link, I need to get Home value in
golink.php page. I dont want to pass id value in href link like
<a href="golink.php ? value= home">Home</a> I want any other
method like session. Please help me. Thanks in advance.
share|improve this question With your current setup, it wouldn't
be possible to pass a value without using a GET variable. What
you could do is have an individual page for each link (ie
home.php, about.php, etc) and within these pages, set $value =
"home"; (w.e page it is) and then include("golink.php") – 
Supericy Jan 4 at 7:29 add comm