Hye there I'm new to PHP and learning to my own I have a simple HTML form as:
<form action="file:///C|/wamp/www/welcome.php" method="POST">
Enter your name: <input type="text" name="name" />
Enter your age: <input type="text" name="age" />
<input type="submit" />
and my PHP file is:
<body>
HELLO
<?php
Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old!
?>
</body>
the problem is that when i click on my submit button it only shows the following output:
HELLO Welcome .
You are years old!
I mean the output is not showing up the contents from the POST Function! so is it me doing something wrong or so. I am new to PHP and want to learn it can somebody help me please thanks in advance!