Basic Syntax of PHP


This is the best , simple and easy example which will show you how to use the PHP Tags in the PHP File.

We have given a simple example which is used to show a simple message in the body tag with the echo message.

This example will print the message inside the body and the html H1 TAG.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Basic Syntax of PHP</title>
echo "This is My Testing Message.";