Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3. A copy of the license is included in the section entitled “GNU Free Documentation License”
- What is PHP?
- PHP allows you to create dynamic web pages: web pages that do things differently depending on when or how someone visits your page, or that change depending on some other outside data. In this tutorial, I’m going to cover some of the very basics of using PHP to handle forms in your web pages. I’m going to assume that you know a little bit about HTML, but nothing about programming or PHP. If you aren’t familiar with HTML, you’ll want to go over…
- PHP: Hot Pages: Basic Code
- Basic Code in PHP: Hot Pages
- Your Favorite Color
- Your Favorite Color in PHP: Hot Pages
- PHP: Hot Pages: A Poll
- Here is a very simple poll to ask people what their favorite imaginary character is among a list of four characters: Neo, the Tin Man, the White Rabbit, and the Scarecrow.
- PHP: Hot Pages: SQLite
- Storing form results in a flat file is easy, but it doesn’t let you manipulate the results easily. If you want to look at your data later you almost always want to store the data in a SQL database. SQL allows you to run queries on your data to see only parts of the data: only the votes from today, or only the votes from one IP address.
- More Information
- The most useful book I’ve seen for PHP isn’t a book at all: it’s the PHP web site at http://php.net/.
- PHP: Hot Pages (full HTML) (144.3 KB)
- HTML version of PHP: Hot Pages
- PHP: Hot Pages (full PDF) (2.4 MB)
- PDF version of PHP: Hot Pages
- PHP: Hot Pages (full RTF) (2.0 MB)
- RTF version of PHP: Hot Pages
- ZIP Resources for PHP: Hot Pages (1.5 MB)
- Resources for PHP: Hot Pages, including samples and document graphics.