PDA

View Full Version : calculating form?


wattsnet
03-04-2003, 11:33 AM
I am newbie when it comes to cgi, so bear with me.
I have a form that I am working on for a moving company and they want an "online quote form" that will calculate the total of each item (example 2 coffee tables) and multiply that figure times a set value (example 3.5 cubic feet) and email these figures to the "relocation specialist" so he/she can return a quote promptly.
I already have the form created with the set values, etc. but I am not sure what to do now.
How and where do I setup the calculations?
Any good resources for this kind of information?

gino
03-04-2003, 11:47 AM
If you need simple calculations within a form, I would use JavaScript.

If you're getting the hang of it and want to do some database related stuff I recommend using PHP and MySQL.

There are numerous resources on the net for both languages, just to name a few:

http://www.devshed.com/
http://www.webreference.com/
http://www.htmlgoodies.com/
http://www.php.net/