| | |
Problem with Forms
![]() |
•
•
Join Date: Jul 2007
Posts: 1
Reputation:
Solved Threads: 0
Hello Everyone.
I am a newbie in PHP and using XAMPP tool for learning php.
While dealing with forms,I encounter a problem,please help.
I have made a simple form in which user fill his name in textbox click on button,his name is displayed.But,this is not happening,Instead of this dreamweaver opens up.
I have tried to find the solution,but not able to find it.Please guys,
I need your help .
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>
This is Php code.
<?php
echo $_POST['Na'];
?>
I am a newbie in PHP and using XAMPP tool for learning php.
While dealing with forms,I encounter a problem,please help.
I have made a simple form in which user fill his name in textbox click on button,his name is displayed.But,this is not happening,Instead of this dreamweaver opens up.
I have tried to find the solution,but not able to find it.Please guys,
I need your help .
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>
This is Php code.
<?php
echo $_POST['Na'];
?>
![]() |
Similar Threads
- Problem with forms (PHP)
- How to transfer values between ASP.NET pages (ASP.NET)
- Using two dropdown forms in an ASP page (ASP)
- problem due to too many forms being displayed/how to display forms neatly? (C#)
- How to use two forms in asp (ASP)
- Javascript:How to transfer values between ASP.NET pages (JavaScript / DHTML / AJAX)
- Defining Variable problem (Visual Basic 4 / 5 / 6)
- Giving records in MS Access unique numbers (MS Access and FileMaker Pro)
Other Threads in the PHP Forum
- Previous Thread: Spoofing / spamming avoiding
- Next Thread: Banner Planning
Views: 729 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api archive array arrays auto box buttons cakephp cart check checkbox class classes cms code combobox database date development directory display download dropdown dropdownlist drupal dynamic echo email error file files form forms functions header hosting href htaccess html image include insert integration ip java javascript joomla jquery limit link login loop mail menu mlm mod_rewrite multiple mysql order parse password paypal php problem query radio recursion redirect regex remote rows script search select server session sort source sql string structure syntax table tutorial update updates upload url user validation variable video web website wordpress xml





