The way I do that sort of stuff is to have only one page with a variable, lets say "$bla".
Then the link to the page....
Code:
<a href "index.php?bla=1">
Then on the page.....
Code:
if($bla==1){
"show the relevant menu";
unset($bla)
}
....if you get what I mean.