Hello Everone,
I am newbie in PHP and learning php forms.I have made a simple php form.
User enters his name in textbox click on submit button and his name is displayed through PHP.But this is not happenning,instead of displaying the name,it opens up a dreamweaver window.
I am using Easy PHP for PHP practice and stored the html and php form in C:/PHP/www folder.
Kindly help as I am not able to resolve it.
This is the form code
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Test</title>
</head>
<body>
<form name="form1" method="POST" action="formprocess1.php">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="13%">Name</td>
<td width="87%">
<input type="text" name="Na" size="35"></td>
</tr>
<tr>
<td width="100%" colspan="2">
<center><input type="submit" value="Submit" name="B1"></center></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</form>
</body>
</html>
and this is the php code.
<?php
echo $_POST['Na'];
?>
Please help
Regards
sumitkiki