Js. There is a variable, and you need to put it in the link for the GET request. I can not understand how this can be implemented ?? Google is silent. The code (the second property on a GET request) is set using PHP. Click on the button - +1 to the number - the number in the link has changed, another click - +1 to the number, etc. As a result, the link should change dynamically in the process. There is code that comes in PHP. And there is a JS variable. They both need to be stuck in the link.
<p align="center"><a href="logfirst.php?kod= <?php echo $kod ?> &nrub=*ПЕРЕМЕННАЯ*"... Thank you in advance.