Jump to content

ali.aggressor

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ali.aggressor

  1. Hi guys. I m new to php and i just made a two fields form consists of a Name Field and an Age Field with below formula. The result should be available in "Welcome.php" file. It's code is below. But when i submit the form, it doesn't show the field result. HTML Code: <html><body><form action="welcome.php" method="post">Name: <input type="text" name="fname">Age: <input type="text" name="age"><input type="submit"></form></body></html> Welcome.PHP Code: <html><body> Welcome <?php echo $_POST["fname"]; ?><br>You are <?php echo $_POST["age"]; ?> years old. </body></html> Could anyone please guide me that why the submitted form fields result is not visible in welcome.php file. Thanks & Regards
×
×
  • Create New...