Constructing the Page Used to Search the Database

A basic HTML form is used to construct the interface that allows the user to enter the search criteria. The HTML that does this is displayed in Listing 21.1.

Listing 21.1 The HTML Code That Creates the Interface for Inputting Search Criteria
 1: <h3 align=center>Use This Page To Search for the Book of 2: Interest</h3> 3: This page presents four boxes where information can be entered and 4: a search button clicked. The boxes are labeled: <B>Search by title: 5: </B>, <b>Search by Author Name:</b>, <b>Search by ISBN</b> and 6: <b>Search by Keywords</b>. <br><br> 7: The search algorithm is rather simple. If there is any information 8: in the <b>Search by Title:</b> editbox, the search is done by ...

Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.