Hi folks,
Just a quick question for you...
I have a gateway page on my sit that I use for promotions to forward people to the main site in a new window. On loading, the PHP script in the new window increments a counter in a MySQL db (using: UPDATE table SET count = count+1 WHERE field = 'value'). This works fine in IE, but in Netscape the counter increments twice.
Now on researching this it is because Netscape runs the script once and then reruns it in the new window resulting in the double increment. Any nice ways to sidestep this problem? Anyone else encountered it?
Thanks in advance for your help, it is much appreciated!
Thanks
chalkoutline