We will first look at a few PHP examples. Here I assume that you have some understanding of HTML which is sufficed for us for now.
<html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html>
Echo is similar to writeln in C.
In this example, the entire string <p>Hello World</p> will be output to the browser and this string is also what the browser will see.
And as for us, we will see Hello World in the browser when the script is ran.