I have found some code to make a counter in php (simple, without using a database). The counter is implemented with some small php code that triggers when click_installer becomes yes. I need to put this code into a href (according to the original code), but I also need a href for the link to go to. How can I combine two href statements in one href so both the counter and link works. What I now have is:
<h3><a href="?click_installer=yes" href="http://pcgtools.mkspace.nl/PcgTools.zip"
>PCG Tools 1.8.1 Installer (.zip)</a></h3>
In this solution, only the first href works, so the counter is updated.
If I switch the href commands like:
<h3><a href="http://pcgtools.mkspace.nl/PcgTools.zip" href="?click_installer=yes"
>PCG Tools 1.8.1 Installer (.zip)</a></h3>
only the link will work and the counter will not.