I have a table in a page first.php that may contain thousands of tuples. It goes like:-
UsedId Name and so on
1 A
2 B
....
What I then I have is that you can click on the UserId and it will take you to the page second.php. I have a session variable:-
<?php $_SESSION["newsession"]=1?>
I want this session variable to be the UserId of the user that was clicked on. Then, it should be displayed in the second.php page.
I was successfully able to make link to go to the second page, I also know about session variables pretty much, but I don't know how I can display the userid of the user which was clicked. Please help. Thanks