I'm not sure the best way to handle this.
Initially, the user logs in and they are presented the alphabet as a series of links. If they click on ‘A’ they are shown a list of people whose last name starts with ‘A’. Each person has an ID number that is a link. They click on the persons ID number link and then they move through a series of pages where they can edit and add information for the person.
When the user first clicks on the person ID number I pass that number via the url (e.g. mypage.php?ID=123). When MYPAGE.PHP loads I set a session variable for $PersonID which is used in the rest of the pages.
This works fine except when the user goes back to the initial page for the person (mypage.php). Now I need to get the ID from the session variable and not from the URL.
Either I need to be able to tell where to look for the value (isset() maybe) or I need to be able to set the session variable when the user first clicks on the link from the list of names.
Any help is appreciated...
Greg