Practical PHP Programming:HTML forms
From IpbWiki
PHP was originally designed for use on the Internet, and although you can now use it for command-line apps and GUIs, its main purpose remains working on the web. When it comes to the web, HTML has ruled unchallenged for some years now as the de facto standard for displaying information, even more so now that WAP usage has evaporated. This means that if you want to write a front-end for your PHP web applications, you need to understand HTML.
Topics covered in this chapter are:
- Form design using HTML
- Sending and receiving form data with PHP
- Splitting forms across pages
- Validating input
Chapter contents
- 6.1. Practical_PHP_Programming:Designing a form
- 6.2. Practical_PHP_Programming:Handling data
- 6.3. Practical_PHP_Programming:Splitting forms across pages
- 6.4. Practical_PHP_Programming:Validating user input
- 6.4.1. Practical_PHP_Programming:Client-side validation
- 6.4.2. Practical_PHP_Programming:Server-side validation
- 6.4.3. Practical_PHP_Programming:Checking a variable is of a specific type
- 6.4.4. Practical_PHP_Programming:Advanced variable validation with Ctype
- 6.4.5. Practical_PHP_Programming:Validation reminder sheet
- 6.5. Practical_PHP_Programming:Tips for better form design
