Changes

Creating a Simple PHP Script

No change in size, 16:27, 24 May 2007
Embedding HTML into a PHP Script
== Embedding HTML into a PHP Script ==
In the previous example we embedded some PHP scripts into an HTML web page. We can reverse this by putting the HTML tags into the PHP commands. The following example contains a PHP script which is designed to output the HTML necessary to display a simple page. As with the previous examples, create this file, uplaod upload it to your web server and load it into a web browser:
<pre>