$nick = $_POST['nick']; $pass = $_POST['pass']; if($nick == "nick" && $pass == "password") { echo "Prisijungei"; }else{ echo "Error"; }