Changes

An Overview of PHP

568 bytes removed, 17:16, 23 May 2007
no edit summary
</pre>
<h1>This line of HTML was generated by a PHP script embedded into an HTML document</h1>';
?>
</body>
</html>
 
</pre>
 
The above example looks very miuch like standard HTML until the part surrounded by ''<?php'' and ''?>''. These are markers that designate where the PHP scriptlet begins and ends. When the web server finds this it sends it to the PHP module. the PHP module interprets it, converts it to HTML and sends it back to the web server. the web server then send sthe following to the browser:
 
<pre>
 
<html>
<head>
<title>A PHP Example</title>
</head>
<body>
<h1>This line of HTML was generated by a PHP script embedded into an HTML document</h1>