Creating a Simple PHP Script
From Techotopia
Revision as of 13:06, 24 May 2007 by Neil (Talk | contribs) (New page: No technology book would be complete without including obligatory simple example, and PHP Essentials is no exception to this rule. In this chapter we will look at constructing the most b...)
No technology book would be complete without including obligatory simple example, and PHP Essentials is no exception to this rule.
In this chapter we will look at constructing the most basic of PHP examples, and in so doing we will take two approaches to creating PHP powered web content. Firstly we will look at embedding PHP into an HTML page. Secondly, we will look at a reverse example whereby we embed the HTML into the PHP. Both are perfectly valid approaches to using PHP.