I tries validating the form values by using the echo function but it did not work it didn't display on the top like how i expected can you help me. this is the php code :
<?php
if(isset($_POST['Submit']))
{
$username=isset($_POST["username"]);
$password=isset($_POST["password"]);
echo "your name is".$username."and your password is ".$password;
}
?>
the form html code is :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<form action="form.php" methode="post">
<input type="text" name="username" placeholder="enter your name">
<input type="password" name="password" placeholder="enter your password"/><br>
<input type="Submit" name="Submit"/>
</form>
</body>
</html>