<!-- welcome.php file--> <html> <body> Welcome <?php echo $_GET["fname"]; ?>.<br /> You are <?php echo $_GET["age"]; ?> years old! </body> </html>
<!-- welcome.htm file--> <html > <body> <form action="welcome.php" method="get"> Name: <input type="text" name="fname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> </body> </html>
Expected Result Example:
You are 12 years old!
But I get only this result:
You are years old!
the name and age value from the user input didn't show up. I have tried this using IIS and apache both have the same results pls. help Im running VISTA computer.. if its not the codes.. there must be some problem from my configurations or intsallation.. Please i really need this. thank you very much.