Accessibility

Dreamweaver Article

 

Creating an event registration application in PHP – Part 1: Building the front end


Joseph Lowery

Joseph Lowery

jlowery@idest.com

Table of Contents

Created:
7 January 2008
User Level:
Intermediate, Advanced
Products:
Dreamweaver

Meetings, conventions, and conferences are an important part of almost every profession. In recent years, attendee registration has moved to the Web. In this article you'll learn how to create a multipurpose catalog page that displays the different seminars for each day of the event. You'll also learn how to create a basic event registration application in PHP using a basic Dreamweaver server behavior. This application consists of three pages:

  • Presentations.php: Before site visitors can decide which program to register for, they need to see what is offered on each day. This page dynamically displays presentation information for each day of the event.
  • Register.php: This page contains a basic form for gathering name and e-mail address from the registrant; it inserts a new record into the MySQL database. After the record is inserted the page is redirected to confirm_register.php.
  • Confirm_register.php: A simple page that let's the registrant know the process is complete.

Requirements

In order to make the most of this article, you need the following software and files:

Dreamweaver CS3

Sample files:

Prerequisite knowledge

You'll need to know how to set up a dynamic site in Dreamweaver and also have PHP and MySQL set up on your development system. You'll also need to understand how to restore a SQL file to a MySQL database.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

About the author

Joseph Lowery's books about the web and web-building tools are international bestsellers, having sold more than 400,000 copies worldwide in eleven different languages. His most recent book is the Dreamweaver CS3 Bible. Joseph is the author of the recently published CSS Hacks and Filters as well as the co-author of Dreamweaver 8 Recipes with Eric Ott. A well-known speaker, he was presented at Adobe (formerly Macromedia) conferences in the United States and Europe as well as user groups around the country. Joseph is currently the Vice President of Marketing for WebAssist.