This is a simple application that I hacked together on the way home from work. (MARTA was particularly slow that day.) The application queries a small MySQL database to select Canon lenses based on requirements that the user provides via a CGI form.
Here is a description of the source files:
| canon.php | The actual PHP application | |
| db_canon.sql | The Canon lens database schema and contents. | |
| db_session.php | Session handling code reused from the PHP Cookbook. | |
| db_session.sql | The database schema required by the session handling code. | |
| db_canon.php | Code to connect to the database server and setup sessions. |
Drop me a note if you have any suggestions, comments, or questions.