View Full Version : PHP function needed to do calculations on page - any suggestions?

07-15-2009, 02:40 PM

I'm searching for a free or reasonably priced PHP function that would add up ticked options in a pricelist and come to a grandtotal. Then email it to the sales email address of the company.

Will appreciate any suggestions thanks!!

07-15-2009, 06:49 PM
how many options are there? wouldnt it also need to send which items were ordered?should it include a tax?an address?

07-16-2009, 05:53 AM
A whole lot of options (its a series of faxmachines/products). Yes it needs to say which items were ordered. And tax (great suggestion - havent thought that far) and the persons address. Is this leaning more towards a shoppingcart? I am trying the PayPal one by www.webassist.com (http://www.webassist.com).

Thanks for your interest!

07-18-2009, 08:46 PM
a shoping cart could be the way to go but if i were you, i'd populate the options list dynamically from a database with checkboxes otherwise your gonna have lots of html to write to show all products, then use a small calculation script and then a mailto script to send it to our sales team