php example program

It is easy to read the definition of PHP but what does it imply?

Let us show you a simple example of PHP. It is easy to draft one.

To do so, first you have to create a file and write HTML tags + PHP code and save this file with .php extension.

All PHP code goes between php tag. A syntax of PHP tag is given below:

//your code here  


echo "<h2>Hi there !</h2>";  


Hi there !
Content Protection by
Please Share