Jump to content

ali.aggressor

Members
  • Posts

    2
  • Joined

  • Last visited

About ali.aggressor

  • Birthday 08/03/1985

Previous Fields

  • Languages
    English, Urdu

Profile Information

  • Location
    Lahore
  • Interests
    Android phones, Tablets, Mac Books, Car & Bike Ride,web development

ali.aggressor's Achievements

Newbie

Newbie (1/7)

0

Reputation

  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...