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.
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
54
Other forums
xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<
Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box
User information
Hi All,
By using t-code SUIM we get all the user details,if suppose we donot have permission t
date function help
i need help with date function
Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD H
Issues: PHP Forms -Clearing
I've tried looking online before actually asking for help, but I've been looking for about the past
SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built
$_POST
Hi, I have 2 seperate php files, and i want my $_POSt["fname"] To go into both of them, Fo
Add User script "Could not execute query"
This should be an easy script but I can't get it to run. Can someone please help me?
<
Number Format
Hi All,
I have number '000000000050085' I want to format it to 500.85 Can any one give me
Problem with a select distinct
I have a problema with a select distinct, I have the next sql:
select distinct a,b,c,d fr