Return to Eli-PHP Tutorials
PHP Programming Part 5: HTML Forms and PHP Programming
1. What does it mean when Eli says that HTML creates static pages while PHP creates dynamic pages?
Eli means that HTML is static because it is simply the webpage displayed in the browser, such as the parts of a web form. PHP on the other hand, is dynamic because it takes the information submitted to the form and writes the HTML code automatically based on what is submitted.
2. In this exercise, you will use an HTML Textbox, an Option Box, and a Radio Button. What function does each of these input methods provide?
A textbox allows the user to input text information up to the size attribute. An option box provides a user a predefined list of options for the user to select from. A radio button is similar to an option box, where a number of options are given, however only one option may be selected.
Here is a working version of Eli's HTML form and PHP response program that he created in the video.