kwdelre Posted January 24, 2011 Share Posted January 24, 2011 I have a page that lists out some basic information about each quiz this particular student has taken (call it "quiz summary"). I am creating another page that will have all details of a particular quiz by itself (call it "quiz detail"). If I have a link for each quiz on the "quiz summary" page, how do I tell the "quiz detail' page which link they clicked on? Or which quiz they have selected. I was thinking it would work if I assigned a session variable to each link and then the "quiz detail" page could verify which returns true still and show details for that quiz. Would this logic work? Npot sure how to do it anyone though. thanks for any help! Link to comment https://forums.phpfreaks.com/topic/225456-assign-variable-from-link/ Share on other sites More sharing options...
Garethp Posted January 24, 2011 Share Posted January 24, 2011 I suggest you read through all of this tutorial before you go any further http://www.w3schools.com/php/default.asp But if you have no patience or desire to learn how to do things properly, you can skip to this part http://www.w3schools.com/php/php_get.asp Link to comment https://forums.phpfreaks.com/topic/225456-assign-variable-from-link/#findComment-1164219 Share on other sites More sharing options...
kwdelre Posted January 24, 2011 Author Share Posted January 24, 2011 Was there something I said that isn't the "proper" way to do it? Thanks for the link. I don't have this set up as a form. I would like the user to click on a link and have that recognized by the "quiz detail" page Link to comment https://forums.phpfreaks.com/topic/225456-assign-variable-from-link/#findComment-1164220 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.