First let me say, this place rocks. I just found it and have gained a lot of insight into programming in PHP.
I am fairly new to PHP... That being said I can do some basic programming, having read a few books on PHP. I am finding that actually 'DOING' original work is a bit more difficult than the examples.
I have an Excel Spreadsheet that I use to build Configurations by picking the parts needed for the total install. Each part has a Quantity, Part Number, Description, Price and a Percentage Markup that is refered to over and over again. I am looking for a way to duplicate this spreadsheet in a PHP app.
Here's a an example...
Qty Item Part # Price w/ Disc.
0 Part Description for Part #1 11111111 1050.00 -1050.00
Install Maint Cost Discount
56.00 8.00 537.73 5%
The 'w/ Disc.' is figured in Excel this way: =SUM(F5*M108)-F5 F5 is the Price, M108 is the Discount
Also I need to be able to have the user specify the Quantity and the Discount amount and display the result in a new page after the form is submitted.
Can someone give me an example of how to do this in PHP? I appreciate all the help 🙂