Write a PHP Program that will use the concept form.




Write  a PHP Program that will use the concept form.

<!DOCTYPE html>
<html>
<head>
          <title>Practical-5</title>
</head>
<body>
<?php
if (isset($_REQUEST['submit']))
 {
          $name=$_REQUEST['txtname'];
          $cno=$_REQUEST['txtcno'];
          echo "<b>Your Name is :</b>".$name."<br>";
          echo "<b>Contact No :</b>".$cno;
}
else
{

          echo "Go Back and Press Submit Button…";
  

}

?>
</body>
</html>

OUTPUT:-


Go Back and Press Submit Button…

Comments