Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Make calculations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

T00N
Super User

573 Posts

Posted - 05 Mar 2009 :  14:32:53  Show Profile  Visit T00N's Homepage  Reply with Quote
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  Show Profile  Visit s.dav's Homepage  Reply with Quote
As always you can do this in two ways:
1- by javascript
2- by server code like .php or .asp

Regards, Davide
Go to Top of Page

petran
Super User

Netherlands
345 Posts

Posted - 06 Mar 2009 :  13:07:11  Show Profile  Visit petran's Homepage  Reply with Quote
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
Go to Top of Page

T00N
Super User

573 Posts

Posted - 06 Mar 2009 :  13:56:04  Show Profile  Visit T00N's Homepage  Reply with Quote
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.
Go to Top of Page

T00N
Super User

573 Posts

Posted - 07 Mar 2009 :  21:53:29  Show Profile  Visit T00N's Homepage  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000