douyanlu7380 2019-02-15 12:40
浏览 69

打开基于点击链接的页面

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

  • 写回答

0条回答 默认 最新

    报告相同问题?