Hello;
Maybe someone out there can help me with an idea. Is it possible to have
a product entry screen in PHP also do mathematical functions in the background?
I would like to make a system where the store admin would enter in the product
information, and them based upon a numerical value for certain information
have a price automatically generated.
The information for a product would include inside dimension (height, width,
depth), the condition of the product (new, like new, old, battered), and any
changes made to it (retitled, original, rejacketed). I would like to be
able to have a system in place that would multiply the inside dimensions and
come up with a total volume, then compare that with a table of values
(prices) and pick the closest one. Then take the new price and change it
depending on the other info, if the title is rejacketed then add 10% and if
it is in new condition add another 10% and from this generate the final
price for the product.
Do you think this can be done?
Thanks
Shawn
P.S. can anyone suggest a good tutorial for using mathematical functions in
PHP? I have a good PHP book but it only covers the really wierd stuff like
ARC, and TAN, and COSINE. I only made it to 1st year geometry so that stuff
is all greek to me. :-)