<!----------this is my form.php------------>
<html>
<?php
echo "Your username is : $user <br>";
echo "Your password is : $pass <br>";
?>
</html>
<!-------------this is my form.html---------------->
<html>
<body>
<form action="form.php" medthod="POST">
Password:<input type="password" name="pass"><br>
User : <input type="text" name="user"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
These two files are in same folder . But when I typed text and pass in html file , then php file was called . However , result didnt work as I want . It only print :
Your name is :
Your password is :
What problem here?