hi, i want to give a value to a variable when the surfer clicks on a link, i am not sure how to do that in php, also, i would like to pass on the value of that variable to a different page. can someone help me with the coding? plz? providing samples would be greately appreciated
Xtothel
0
Light Poster
Recommended Answers
Jump to PostWhen the user clicks on the link they are doing it on the "client" so you need something like javascript.
To save the value you can use sessions or cookies.
Rather than us giving you examples, maybe you'd like to tell us what the problem is that you're …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.