Note this DEMO passes a variable (and its value) via a GET ternary operation. In other words, the name of the variable and its value is being passed through the URL. There is no form involved.
Please note the string "?id=18" in the URL.
ID = 18
DECREASE ID INCREASE ID