Hi people,
I am creating this link in an email for users to click on. After clicking on it, it will lead users to a welcome user page: http://localhost/welcome_user.php?time=9d49b9a1a495fe61f72d422ee0be0ce9
Notice the hashed time? time= 9d49b9a1a495fe61f72d422ee0be0ce9? On the welcome_user page, users can choose different options like to "edit profile", "do survey" or "view records". All they have to do is to click on any of these links.
Problem: I have to retrieve the "time= 9d49b9a1a495fe61f72d422ee0be0ce9" from welcome_user page. I know to do that, is to apply on $_GET. what about after retrieving the time, how am i to bring it on to the other pages? Like view records when the user has clicked on the view records link?
The purpose of getting the hashed time was because i need it for reference to the sql database. I need the time to retrieve user_id from the database for the other pages: "edit profile", "do survey" and "view records"
Maybe this is too easy, laughing at my own stupidity, I'm very new to php. But please..*pleading* for help. Thanks!!!!
<? session_start();?>
<? $hash=$_GET['time'];
echo $hash;
?>
<a href='tpi_who.php'>Edit profile</a>
<br>
<a href="view_records.php'>View Records</a>
<br>
<a href='survey1.php'>Do Survey</a>
Problem's solved!! phew..*sweat* Thanks to php community!! *muacks!* =)
