Jump to content

Assign Variable from Link?


kwdelre

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.