You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($_SESSION['chat_sessionid']) { // Prüft ob Session besteht => ob der Nutzer angemeldet ist. Wenn ja, dann update session, damit timestamp geupdatet wird
global $link;
$name = $_SESSION['chat_sessionid'];
$time = date("Y-m-d H:i:s",strtotime("NOW"));
$sql = "UPDATE `user` SET `status_update` = '$time' WHERE `Name`='$name'";