Commit 248fe85a by Mei Romauli Sagala

in progress

parent dde21a7b
......@@ -10,7 +10,7 @@ if(isset($_GET['do_login'])){
$_SESSION['login_error'] = TRUE;
}else{
$_SESSION['user'] = TRUE;
$row = mysqli_fetch_assoc($login);
$row = mysqli_fetch_array($login);
$_SESSION['username'] = $row['username'];
$_SESSION['id_member'] = $row['id_member'];
$_SESSION['user'] = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment