PDA

View Full Version : Price Quoting System



stylishjm
07 Jan 2010, 09:45 AM
Hi there, Im not new to coding yet only know the basics. Anyway im attempting to create a price quote system for my Minicab Website.

My idea is the user would enter into two boxes (to and from destinations) postcodes, street address or even POI like hotels. Upon submitting the form it will display below, the price and distance (distance not necessary) and possibly the route on a googlemap (also not important).

Other things that can be taken into consideration would be the car type (saloon, estate & MPV) and amount of passengers and luggage which will affect the end price.

Ive tried learning how to use the google api stuff and failed when trying and also edited a script which I found on the web which calculates the distance between a & b with a price using googlemaps but was flawed as it displayed prices like £45.64389673468349 and didnt recognise some UK postcodes and even confused them with foreign ones!

If anyone can help it would be much appreciated

Thanks