34,333
edits
Changes
→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>