PHP Tutorial

 

Table of Contents

PHP Tutorial Overview

Click the Align button in Komodo's Help Browser to re-size the Komodo workspace and the Help Browser for side-by-side viewing.

PHP Tutorial Scenario

This tutorial examines a PHP program that implements a form on a web site - in this case, a guest book where site visitors can log comments. In addition to providing an overview and working example of PHP, the tutorial also highlights Komodo's CGI Debugging functionality.

  1. Open the PHP Tutorial Project and associated files.
  2. Analyze guestbook.php the PHP program included in the PHP Tutorial Project.
  3. Generate the HTML output by running the program.
  4. Debug the program using the Komodo debugger.
Top

Before You Start

This tutorial assumes...

  • ...that you are running the Tutorial locally from within the Komodo Help Browser. While it can be read online, the interactive functions (such as re-sizing the workspace and creating sample projects) can only be done from within the Komodo Help Browser.
  • ...that PHP 4.0.5 or greater is installed on your system. See Komodo's Installation Guide for configuration instructions.
  • ...that you are interested in PHP. You don't need to have previous knowledge of PHP; the tutorial will walk you through a simple program and suggest some resources for further information.

Top Previous Next