To start developing in PHP, create a plain text file with a
.php file extension and open it in the editor of your choice—for example, Notepad, jEdit, Dreamweaver, NetBeans, or PHPEclipse. This PHP file can include any HTML, as well as PHP scripting code. Begin by first entering the following minimal markup for an HTML 5 web
document.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>PHP Test</title>
</head>
<body></body>
</html>
Embedding PHP
PHP code can be embedded anywhere in a web document in several different ways. The standard notation is to delimit the code by <?php and ?>. This ...