Page 1 of 1

Cab Fare Calculator

Posted: Mon Jan 30, 2012 4:13 pm
by benconnekt
Hi Guys,

Not sure if am asking this question at the right section.

Wanted to know if there's a resource for cab fare calculator, this will be able to give instant quote based on the pickup and dropoff zones selected from the form by the user.Or better still a guide on how it can be created from scratch.

Thanks for your help

Re: Cab Fare Calculator

Posted: Mon Jan 30, 2012 6:17 pm
by califdon
You haven't given any details, but it sounds to me like you just need to create a database with the fare for each possible pickup and dropoff zone combination. Then a simple SELECT statement WHERE pickup=$pu AND dropoff=$do.