View Full Version : Internal Search Engine


Aredhel
08-21-2005, 10:32 AM
I need help with the FDSE's search engine. I got it installed and everything works fine, but I wanted to know how to code it if I want something like an advance search engine. I read the 'Help' menu on the said search engine, but I still don’t get it plus I don’t want to make the whole thing go haywire. The things I wanted to include are below:

Shophouse or house (I'll be using the radio box thingy)
Rent or Sale (another radio box)
Location (drop-down menu)
Price range (drop-down menu)

So anyone knows how?

Aredhel
08-22-2005, 01:48 AM
How is the coding if I want the search engine to look for more than one term like make the search more specific? There will be this drop-down menu and the radio box thingy where people can choose from : shophouses or houses to price range and bla bla bla. So anyone?

I did some trial and errors like giving the name for each boxes and drop-down menu the same name: Terms. I update the meta tags for each page ... but everytime I try out the search engine it will give me the result of all 43 pages. Anyone?

Aredhel
08-22-2005, 03:38 AM
Sorry I cannot seem to find any 'EDIT' button. Anyway here is how I code the searh form (well parts of the coding):
------------------------------------------
<form method="get" action="http://www.tchungrealestate.com/search/search.pl">
:
<input value="rent shophouse" name="Terms" type="radio">Shophouse
<br>
<input value="rent house" name="Terms" type="radio">House
:
<input value="sale shophouse" name="Terms" type="radio">Shophouse
<br>
<input value="sale house" name="Terms" type="radio">House
:
<select size="1" name="Terms">
<option>Location</option>
<option value="bengkurong">Bengkurong</option>
<option value="berakas">Berakas</option>
<option value="gadong">Gadong</option>
<option value="jerudong">Jerudong</option></select>
:
<select size="1" name="Terms">
<option>Price Range - B$</option>
<option value="500-600">500 - 600</option>
<option value="600-700">600 - 700</option>
<option value="700-800">700 - 800</option>
<option value="2.5K-3K">2.5K - 3K</option></select>
:
<input type="submit" value="Search" /></form>