What is PHP?

A server-side scripting language designed for building dynamic and interactive websites and is also used as a typlical programming language .

“Originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.” – https://en.wikipedia.org/wiki/PHP

 

Here is a example of a basic php script.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<title>Example 1</title>
</head>
<body>

<?php
echo “My first PHP script!”;
?>

</body>
</html>