0
PHP Sessions
How do I send a reply to a user who fails to login using sessions. something like "Password is incorrect ". Using *sessions. not javascript validation.
1 Resposta
+ 2
$_SESSION['user']=$username;
if($_SESSION['user'] == $username){
header('Location: profile.php');
} else{
echo "user not found";
}