indefine index error
<html>
<head>
<title>A BASIC HTML FORM</title>
<?PHP
$username = $_POST['user'];
print ($username);
?>
</head>
<body>
<form name="auth" method="POST" action="b.php">
<input type="text" name="user">
<input type accept="text" name="pass">
</form>
</body>
when i am trying this above code, i am getting error indefine index error here file name is b.php and thats why action="b.php"