This is the source code and links for Chapter 12 of CGI Programming 101.

Chapter 12: Searching and Sorting


Name Description
search-cgi.html Search CGI - Straight Looping (source code)
search.html Search CGI - Straight Looping (example)
search2-cgi.html Search CGI - Using grep (source code)
search2.html Search CGI - Using grep (example)
search3-cgi.html Search CGI - Using grep (with an array and a hash) (source code)
search4-cgi.html Search CGI - Straight Looping/Multiple Keywords (source code)
search4.html Search CGI - Straight Looping/Multiple Keywords (example)
sortedcat-cgi.html Kite Catalog Sorted By Price (source code)
sortedcat.cgi Kite Catalog Sorted By Price (example)