As part of a continuing project that I have been working on here. I have a page that when a variable is changed will display different information. What I would like to be able to do is Click a link on that page that would reload the page using a value based on that link.
Here is a clip, the 8 is the variable that needs changed. I would like it so that each link will have a corresponding number such as Link 1 when clicked would change the number to a "1" and so on. So when the page reloads it will then have a "1" in place of the "8" or what have you depending on which link you click.
Is such a thing easily done?
The page is written using PHP if it matters. Just assumed it would be done using Java Script.
Question
Geoffrey B. Veteran
As part of a continuing project that I have been working on here. I have a page that when a variable is changed will display different information. What I would like to be able to do is Click a link on that page that would reload the page using a value based on that link.
Here is a clip, the 8 is the variable that needs changed. I would like it so that each link will have a corresponding number such as Link 1 when clicked would change the number to a "1" and so on. So when the page reloads it will then have a "1" in place of the "8" or what have you depending on which link you click.
Is such a thing easily done?
The page is written using PHP if it matters. Just assumed it would be done using Java Script.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts