User Name:
Password:
if ($flag==wrong) { echo "Invalid User Name or Password"; } ?> if ($flag==out) { echo "Logged Out"; } ?>