I'm a novice at programming, just started to dabble with PHP and a little JS.
I imagine this is a fairly basic thing to do but have not found any info on it yet, I have looked.
How to I get my PHP code to react to users clicking links on the page. For example if they click one link, it will set a variable to one value, if they click another it changes to a different value, or maybe execute a function.
Or is this something I would be better off doing with JS?