Hi!
I have a counter that increments by 1 for every page view.
$colname_Recordset1 = "-1";
if (isset($_GET['urlcode'])) {
$colname_Recordset1 = $_GET['urlcode'];
}
mysql_query("UPDATE users SET counter = counter + 1 WHERE urlcode = '$colname_Recordset1'");
It works in IE but counts twice in firefox the first time the page is viewed. If I call the page again it increments by 1 as programed.
It increments by 2 the first time the page is called.
Any suggestions or comments would be appreciated.
I'm starting to think maybe it's a problem with my computer.
Anyone ever experience something like this?