For the same content below.
<html>
<body>
<?php $name="jhon"; ?>
<table>
<tr>
<td>name</td>
<td><?php echo $name;?></td>
</tr>
</table>
</body>
</html>
1.To save it as test.php,the output in firefox is as below.
name jhon
2.To save it as test.html,the output in firefox is as below.
name
Why same content with different file type result in different output?