Making A Search and Display

Level: Novice

Time: less than 6 Minutes 

This how to is designed to be followed using easyGen

This is a step by step guide giving you a "how to create" search pages. You can use our online demo database if you want to follow the steps as we have done them or use your own database. If you are using your own database Click Here to see how to build tables and fields for this search.  If you want to use our demo database see page 11 of the manual "Set up a database connection" NOTE: if you are using our online demo database your project settings need to be PHP (see page 18 of the user manual - Project Settings)

For this "how to" we are going to use our property search, obviously you can adapt this to anything you like, the principals will be the same.

To create our property search there are 4 easy steps.

If you are going to use your own database you will need to first follow the steps in how to create the tables and fields HERE

1. First, create 3 blank pages and name them search, results and more these will be our search and display pages

2. Format the search page (Approx 1 minute)

3. Format the results page (Approx 2 minute)

4. Format the more page. (Approx 1 minute) 

How it works

Our online demo database has a Table called Property_search within this table are 5 fields:-

ID (this is the ID of each record and what makes each entry unique and allows us to match information for each entry)

short_desc (this will be where we enter our search terms and a brief description of the property)

full_desc (here we store the full details of the property)

image_small (this is where we store the name of the small image that will be displayed with the short description, ie. small.jpg)

image_big (here we store the name of the bigger image that is displayed when the user looks at a full description, ie big.jpg

In your database you can obviously have the Table and Field names to be whatever you like, you can also have more or less fields depending on your needs.

Click Here to Start or jump to a particular section using the below links