p_id를 noMember 기반으로 변경

This commit is contained in:
2018-02-03 04:49:54 +09:00
parent ecac4b6edb
commit e957a91b19
79 changed files with 171 additions and 174 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ $_SESSION['p_time'] = time();
$date = date('Y-m-d H:i:s');
//
$query="update general set logcnt=logcnt+1,ip='{$_SESSION['p_ip']}',lastconnect='$date',conmsg='$conmsg' where user_id='{$_SESSION['p_id']}'";
$query="update general set logcnt=logcnt+1,ip='{$_SESSION['p_ip']}',lastconnect='$date',conmsg='$conmsg' where no_member='{$_SESSION['noMember']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$date = date('Y_m_d H:i:s');