Accessibility
 
Breadcrumb {international nav OR 10x10 spacer gif}
About search/results pages

You need at least two pages to add the search/results feature to a web page. The first page is a page containing an HTML form in which users select or enter search parameters. Although this page doesn't do any actual searching, it is referred to as "the search page."

The second page you need is the results page, the workhorse of the page set. The results page performs the following tasks:

Reads the search parameters submitted by the search page
Connects to the database and searches for records
Builds a recordset with the records found
Displays the contents of the recordset

Optionally, you can add a detail page. A detail page gives users more information about a particular record on the results page. You will not create a detail page in this tutorial. For more information, see Dreamweaver Help (Help > Using Dreamweaver > Developing Applications Rapidly > Building Pages that Search Databases > Creating a detail page for a results page).

If you have only one search parameter, Dreamweaver lets you add search capabilities to your web page without using SQL queries and variables. Simply design your pages and complete a few dialog boxes. If you have more than one search parameter, you need to write a SQL statement and define multiple variables for it. For this tutorial, you'll build the search application using only one search parameter, the name of a U.S. state.

For more information about developing search applications that use more than one search parameter, see Dreamweaver Help (Help > Using Dreamweaver > Developing Applications Rapidly > Building Pages that Search Databases > Building the results page > Searching with multiple search parameters).

To Table of Contents Forward to next document