this is a simple tutorial for beginners by the way this is also a good way to login and logout
lets make the index.php
login page - login.php
0){
session_start();
$_SESSION['member_id']=$row['member_id'];
header('location:home.php');
}else{
header('location:index.php');
}
}
?>
SQL database connect - conn.php
Post a Comment
Note: Only a member of this blog may post a comment.