slette brugeren ??
hvorfor bliver brugeren ik slettet ??$tid = 1012425077
my_chat = 1111111
my_login = 1111111
<?
include("../config.php3");
$tid = time()-180;
$get_lastcontact= mysql_query("select * from $table");
while ($get = mysql_fetch_array($get_lastcontact)) {
$my_chat = $get["lastcontact_chat"];
$my_login = $get["lastcontact_login"];
if ($my_chat < $tid) {
mysql_query("update $table set online_chat='0', room='', lastcontact_chat='' where lastcontact_login='$my_time'") or die (mysql_error());
}
if ($my_chat == 1) {
} else {
if ($my_time < $tid) {
mysql_query("update $table set online_login='0', online_chat='0', room='', sesid='', lastcontact_login='', lastcontact_chat='' where lastcontact_login='$my_time'") or die (mysql_error());
}
}
}
?>
