include("../config.php"); $sql_select = "select * from $table where username='$username'"; $result = mysql_query ($sql_select,$conID) or die ($sql_select); $row = mysql_fetch_array($result) ; $bkground=$row["bkground"]; include "../top.php"; include "../stop.php"; $ip=$REMOTE_ADDR; $last_ip=$get_row[mailIP]; if($ip!=$last_ip){ $sql = "update $table set Hitmail=Hitmail+1,mailIP='$ip' where username='$username'"; } if($sql){ $result = mysql_query($sql,$conID); } ?>