$_POST in php 5.3.5 does not work
- by naji
dear all
iam working in php 5.3.5 
this is the html file 
<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>
and this is the php file 
<html>
<body>
Welcome <?php echo $_POST["fname"]; ?>!<br />
You are <?php echo $_POST["age"]; ?> years old.
</body>
</html> 
the problem the values are not passed  and the output like 
Welcome !
You are years old.
But it has to be like this 
Welcome John!
You are 28 years old.
can any one help me please??
naji