login log code example
Example: login
if(isset($_POST['submit'])){
if(password_verify($_POST['password'], "hash")){
$_SESSION['login'] = true;
header("Location: ...");
exit;
}
}
if(isset($_POST['submit'])){
if(password_verify($_POST['password'], "hash")){
$_SESSION['login'] = true;
header("Location: ...");
exit;
}
}