Tech Study

Write a PHP script to display string, values within a table

Introduction

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>";
?>

Result

Write a PHP script to display string, values within a table
Write a PHP script to display string, values within a table

Taggedvalues within a tableWrite a PHP script to display string

Java Final keyword

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

Read more

C++ Memory Management: new and delete

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …

Read more