<form action="process_registration.php" method="get" >
<label for="lname">Login Name:</label>
<input type="text" name="lname" id="lname" />
<label for="pswrd">Password:</label>
<input type="password" name="pswrd" id="pswrd" />
<input type="submit" value="Submit" class="animated shake" />
<input type="reset" value="reset" class="animated shake" />
</form>
and the php code is
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<title>Thank You</title>
<link rel=”stylesheet” type=”text/css” href=”common.css” />
</head>
<body>
<h1>Thank You</h1>
<p>Thank you for registering. Here is the information you submitted:</p>
<dl>
<dt>Login Name</dt><dd><?php echo $_POST['lname']?></dd>
<dt>Password</dt><dd><?php echo $_POST['pswrd']?></dd>
</dl>
</body>
</html>
and the error is
Notice: Undefined index: lname in C:\wamp\www*****\process_registration.php on line 12
Notice: Undefined index: pswrd in C:\wamp\www*****\process_registration.php on line 13