Author |
Topic  |
|
T00N
Super User
    
573 Posts |
Posted - 05 Mar 2009 : 14:32:53
|
I've been asked to develop a website on which customers can make calculations.
It's for a taxi company and customers must be able to choose the departure adress, the number of people and the destination. Then there must be a calculation to show the price.
What is the way to go with this?
|
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 06 Mar 2009 : 10:32:58
|
As always you can do this in two ways: 1- by javascript 2- by server code like .php or .asp
|
Regards, Davide |
 |
|
petran
Super User
    
Netherlands
345 Posts |
Posted - 06 Mar 2009 : 13:07:11
|
Calculating a price is not so difficult using PHP. I think your main problem will be to get the distance between place of departure and destination. Do you know if there is such a service online? |
--------
regards
Petran |
 |
|
T00N
Super User
    
573 Posts |
Posted - 06 Mar 2009 : 13:56:04
|
I'm not sure.
On the telephone they told me they do it in excel at the office...
When I get the excel files I'll have a closer look and let you know. |
 |
|
T00N
Super User
    
573 Posts |
Posted - 07 Mar 2009 : 21:53:29
|
Oke, just got the excel sheets.
It's quite simple, they have a list of thirty vilages in the area and for each airport they bring people to they have a price per village.
So if it was me I 'd just put it in a table but I guess that a form with select boxes looks better. |
 |
|
|
Topic  |
|