Counter of click
i should like to do a counter of clicks (with mysql database and PHP )
i've a link <a href="mysite.com">My site</a>
I should like the url apperars and for example when i click open the link in the _blank target and add a click in y data base
Have you an idea what i can do
you can do this easily with php and mysql or php with a text file. All you need to do is to create a page for your counter script like counter.php. inside your counter.php will be your database increment counter and after the increment counter will be your php location redirect code, which will redirect the user to the page it is clicking.
Your link should be something like this <a href='mysite.com/counter.php?url=sales.php" target="_blank" >My site</a> . Here sales.php is the page the user want to go. So your counter.php will increment your database and redirect the user to sales.php