PHP: Hot Pages: Basic Code: Avoiding errors

  1. Line endings
  2. Basic Code
  3. The Final Code

At regular times while programming a web page, use http://validator.w3.org/ to verify that your PHP code is generating valid HTML. Validation can often catch a small error before it becomes a big error.

  1. Line endings
  2. Basic Code
  3. The Final Code