View Full Version : onClick and php / Mysql

12-24-2007, 11:02 PM
Hi javascript specialists,

I was already searching for severall hours and cannot find the solution.
So therefore now at the end a posting to ask to the specialists.

What I need is a onClick event on a link, what after the click , ofcourse opens the link, but also runs a simple php programm, I need it just for counting the outgoing clicks on a link.
The php programm I can make my own, but I cannot combine it with the Javascript onClick... :-(

Who can help with this ?

Thanks a lot !


12-24-2007, 11:22 PM
You could use AJAX (http://www.w3schools.com/ajax/default.asp) to open the page

12-26-2007, 01:06 PM
Thans Mwnciau,

I'll have a look at it, thanks for the tip.

Indeed I read something about Ajax but I hoped .... there was an easier solution for it without new programming

Are there other possibilities ?