PHP is a server scripting language, and It is a powerful tool for making interactive and dynamic Web-pages. I have used WampServer 2.2 for following excercise..
<?php
$a=1000;
$b=1400;
$c=1900;
$d=1800;
echo "<table border=1 cellspacing=0 cellpading=0>
<tr> <td>Salary of Mr. David</td> <td>$a$</font></td></tr>
<tr> <td>Salary of Mr. John</td> <td>$b$</font></td></tr>
<tr> <td>Salary of Mr. Michael</td> <td>$c$</font></td></tr>
<tr> <td>Salary of Mr. Matthew</td> <td>$d$</font></td></tr>
</table>";
?>
PHP is a server scripting language, and It is a powerful tool for making interactive and dynamic Web-pages. I have used WampServer 2.2 for following excercise..
Result: