HomePHP Creating a Searchable Inventory System: Retrieving and Managing Search Results
Creating a Searchable Inventory System: Retrieving and Managing Search Results
In this third article in our series, we will look at the type of functions for which we need to use our search information, then take a look at retrieving records based on various search criteria.
In parts one and two of this article we discussed setting up a relational database to contain information and listings for our fictional online computer store. We then went on to define a basic set of files to help us with this task, some pertaining to the visual layout of our information (“index.php”) and others acting as helper files, containing our PHP code (“search.php”).
We are now ready to take a look at retrieving records based on the search criteria provided, but first we will want to talk briefly about the types of functions we will need to use our search information for.