I know that putting code in an "onClick" is pointless since PHP code executes on the server, so the code will just run when the page loaded.
I would need to simulate something similar- here is a little background on the task at hand:
I need a click counter that tracks when someone submits the form. The problem is that I do not have any control over the form, it is a the free form from mapquest to provide users with directions, so I cannot edit the "action" portion of the form.
The second issue is that the final URL has virtually infinite possibilities, so I cannot track for a specific URL either.
Any help would be greatly appreciate it. I am relatively new to PHP, I have done some complex things, but most of it is relatively simple - so explain well please.
Any suggestions? Even if it is using something else instead of PHP and MySQL to accomplish the task.
Thank you