New Search Engine problem


Posted on 16th Feb 2014 07:03 pm by admin

Hey everyone,

I have a ZIP Code Radius search engine already functional. it displays all of the ZIP codes within a specified mileage around a central ZIP code.

Did you know?Explore Trending and Topic pages for more stories like this.
I have an auction site that the client wants the search engine to be able to search for items within a given mileage radius.

I.e. if a person wants to search for corn within 20 miles of the 12345 ZIP code, they want those auctions displayed.

What is the best way to do this?

Like I said I already have the ZIP Code radius search engine working... now I need to be able to searhc for a particular item within those ZIP Codes.

Everything is running from the same MySQL Database.

You can see the site at http://www.harvestauction.com

Under the 'Buy' Menu item you see the 'Search by ZIP' page which directs you to the ZIP Code Radius search.

The database is named 'harvestauction', the table in the DB which are used by the Zip Code Radius is 'zip_codes' and the fields are:

zipcode
latitude
longitude
city
state
country
type

The table with the auctions is: 'jos_bid_auctions'. And those fields are:

id
userid
title
shortdescription
description
picture
link_extern
initial_price
currency
BIN_price
auction_type
automatic
payment
shipment_info
shipment_price
start_date
end_date
closed_date
params
published
closed_offer
closed_by_admin
hits
modified
newmessages
winnerid
cat (category)
auction_nr
nr_items
featured
reserve_price
min_increase
extended_offer
payment_info

Would it be better to first search via ZIP code and then the item in question... or the item first and than the zip codes within the specific area?



I figured that either way... I need the following fields searched in the jos_bid_auctions:

shortdescription
description
cat

And the following fields searched in zipcode:

zipcode

Thank you
No comments posted yet

Your Answer:

Login to answer
146 Like 54 Dislike
Previous forums Next forums
Other forums

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

Extracting URL pointer within XML tag
Hi.

I'm trying to extract text between two quotation marks in XML. For example, I want to ex

Using Microsoft Exchange Server with PHP
Hi,

I wanted to know if its possible to fetch email attachments from the exchange server usin

unoconv doc convert to pdf code prob
PHP/5.3.1

Hi. I am trying to use this code to convert docs to .pdf utilizing unoconv. Howe

column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
fname||lnam

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

IDOC error
Hi, When i send IDOC from ECC system to MII there is no problem ECC side, i says message sent succe

MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE t

How to kill asynchronous postback / current postback?
Hi,here is my problem:I have a web site with many pages of which some may take time to process resul

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash