• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Building Search Capabilities > Building a Single Parameter Search

Building a Single Parameter Search

The most basic search that a visitor may want to conduct is a single parameter search. Single parameter searches query a database using a single piece of data and return only the fields that contain a match. Often, the search criteria are built into a link and when the visitor clicks the link, the server simply collects the data from the link and then returns any matching results.

Adding Links that Conduct the Search

Using the Nostalgic Radio Favorites site as an example, suppose visitors might want the ability to quickly view all titles that fall under a specific genre, such as comedy or action. To provide them with this, you can simply create a link with a search term included in it that sends the visitor directly to a results page. This page then takes the search term from the URL or the page and returns all records that have a genre equal to the search term.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint