Thread: onClick on php?
Results 1 to 2 of 2
01-05-2005, 07:54 AM #1
onClick on php?
I'd like to count how many times a link has been being clicked by visitor, and I don't wan't have a popup window..
Thank you & sorry my bad english
Last edited by HTML; 01-05-2005 at 08:36 AM.
01-05-2005, 08:01 PM #2
What you can do instead is to write a simple script that counts for you. You then redirect the user after the record has been taken. So instead of linking to 'page.html' you link to 'counter.php?page=page.html' or if you prefer use ID's, eg 'counter.php?page=4'If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?