In This Chapter
Understanding the relationship between HTML and PHP
Using the date( ) function
Formatting date and time information
Creating HTML forms designed to work with PHP
Choosing between get and post data transmission
Retrieving data from your HTML forms
Working with HTML form elements
PHP is almost never used on its own. PHP is usually used in tight conjunction with HTML. Many languages have features for creating input forms and user interfaces, but with PHP, the entire user experience is based on HTML. The user never really sees any PHP. Most of the input to PHP programs comes from HTML forms, and the output of a PHP program is an HTML page.
In this chapter, you discover how to integrate PHP and HTML. You explore how PHP code is embedded into ...