2 pages.... Page 1 = Search Input Form Page 2 = Search Results Form *********************************************************************************** Page 1 - Search Input ***********************************************************************************
This form POSTS to it's own page (Returning the values entered!)
Property Area Details

Property Price Details
Bedrooms
  • : Minimum of
  • : Exactly
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Property Types
*********************************************************************************** Page 2 - Search Results *********************************************************************************** xarVarFetch('input_town', 'str', $output_town, NULL, XARVAR_NOT_REQUIRED) 'town eq \'' . $output_town . '\'' "town LIKE '%'" #$search_town#
xarVarFetch('input_county', 'str', $output_county, NULL, XARVAR_NOT_REQUIRED) 'county eq \'' . $output_county . '\'' "county LIKE '%'" #$search_county#
xarVarFetch('input_post_code1', 'str', $output_post_code1, NULL, XARVAR_NOT_REQUIRED) xarVarFetch('input_post_code2', 'str', $output_post_code2, NULL, XARVAR_NOT_REQUIRED) 'post_code eq \'' . $output_post_code1 . ' ' . $output_post_code2 . '\'' "post_code LIKE '$output_post_code1%'" "post_code LIKE '%$output_post_code2'" "post_code LIKE '%'" #$search_post_code#
xarVarFetch('input_min_price', 'str', $output_min_price, NULL, XARVAR_NOT_REQUIRED) xarVarFetch('input_max_price', 'str', $output_max_price, NULL, XARVAR_NOT_REQUIRED) 'property_price gt ' . $output_min_price . ' and property_price lt ' . $output_max_price 'property_price gt ' . $output_min_price 'property_price lt ' . $output_max_price "property_price LIKE '%'" #$search_price#
xarVarFetch('type_of_bedrooms', 'str', $bedrooms_type, NULL, XARVAR_NOT_REQUIRED) xarVarFetch('property_bedrooms', 'str', $output_bedrooms, NULL, XARVAR_NOT_REQUIRED) '( ' . 'bedrooms eq ' . $output_bedrooms . ' or ' . 'bedrooms gt ' . $output_bedrooms . ' )' 'bedrooms eq \'' . $output_bedrooms . '\'' "bedrooms LIKE '%'" #$search_bedroom#
xarVarFetch('property_type', 'list', $property_type, array(), XARVAR_NOT_REQUIRED) "property_type eq " . (implode(' or property_type eq ',$property_type)) '( ' . $temp_search_type . ' )' "property_type LIKE '%'" #$search_type#




$search_town . ' and ' . $search_county . ' and ' . $search_post_code . ' and ' . $search_price . ' and ' . $search_bedroom . ' and ' . $search_type #$simple_search#