Hi
I am a newbie to PHP and trying to build a calculator with variables. Using the elseif, how would I express the following:
Example: The cost is 8250 plus 1100 per 100000 or portion of 100000 of the purchase price exceeding 500000 and up to and including 1000000.
Or the cost is 13750 plus 550 per 100000 or portion of 100000 of the purchase price exceeding 1000000 up to and including 5000000
Or the cost is 35750 plus 275 per 100000 or portion of 100000 of the purchase price exceeding 5000000
Any advice or ideas will be appreciated.
Thank you.