title: session variable that records an onclick element
body: <p>Lets say i have 5 pages which has some hierarchy and all pages are in same folder. When i click on one page its going to another page in same folder. </p>
  
  <p>Example
  fruits.php is main page and banana.php, apple.php, orange.php &amp; pineapple.php. All the later 4 has links in main page. I need to display navigation in all the pages like if its main page just main page. If its a banana i should display as Main_Page>>Fruits>>Banana ans so on how can i achieve if i have n number of hierarchies lets say flowers(lily.php, rose.php), Eatables(chocolates.php, biscuits.php) etc and all pages in same folder. </p>