Hi,
I have a counter and it works fine in firefox, but when I try to bring up the page to be counted in internet explorer in does not work. The page wont even be brought up in the browser. If I disconnect the include file to the counter it works fine. Here is the code for counter.php
$hostname_conadmin = "localhost";
$database_conadmin = "db";
$username_conadmin = "xyz";
$password_conadmin = "123456";
$conadmin = mysql_pconnect($hostname_conadmin, $username_conadmin, $password_conadmin) or trigger_error(mysql_error(),E_USER_ERROR);
$colname_Recordset1 = "-1";
if (isset($_GET['abc'])) {
$colname_Recordset1 = $_GET['abc'];
mysql_query("UPDATE xyz SET counter = counter + 1 WHERE abc = '$colname_Recordset1'");
print_r(mysql_fetch_assoc($result));
header(sprintf("Location: %s", $updateGoTo));
?>
Thanx
PS. I'm using ie7