Hi everyone,

I am new to php and mysql and really need a distance calculator between nodes.

The idea is as follows: a search with a dropdown option ( Builders > Bricklayers > Plumbers > Carpenters etc ) and a search box which a postcode has to be inserted.....

on submitting I would like a list of the chosen trade which is nearest to the user..

I have found an interesting website which some of you may be able to do something with PHP Zip Code Range and Distance Calculation.

I have asked the guys on this site if thay can help as I really need to use this search function on my site....

Thanks

Robert

Comments

bartezz’s picture

http://drupal.org/project/location
Location Search: Integrate locations and proximity searching into the core Drupal search functionality

Should do the trick?!

Cheers

________________
Live fast die young

gate44’s picture

I am at my ends wit with this can someone please explain to me how i can do this.

I know the basics of views but just cant see how this is done..

Please Please Help Me

Robert

albany’s picture

Hi Rob..,

I had a similar problem. Only took 6 months to bottom it :)

http://drupal.org/node/695162

It may help.

Regards

Steve