qn3
<h2>program to enter name and address </h2>
<form method="post">
Enter Name: <input type="text" name="name"><br><br>
Enter Address : <input type="text" name="address"><br><br>
<input type="submit" name="submit" value="Submit">
</form>
<?php
if(isset($_POST['submit'])){
$n=$_POST['name'];
$a=$_POST['address'];
echo "<br> Name = ".$n;
echo "<br> Address = " .$a;
}
?>
<p>Author : Sujit Thapa</p>

No comments: