I need to give the user of our Sustainable Architecture site the chance to calculate (on line) the thermal conductivity of a wall with several layers.
I have a MYSQL database with the names and conductivities of the more common building materials.
The user have to enter, in a first step, the number of layers of a particular wall, and the PHP program has to show him a text box and a "Search"
button in order to let him choose the material of each layer from a drop down list populated with the search results.
Once the user has chosen the material and entered the width for the "n" layers, the remaining task is only calculate and show the result.
The main problem for me is to present "n" times to the user the chance to search and choose the materials of the layers, either simultaneously or
in a loop that refreshes the page n times.
If the problem is too complex as to treat it in this forum, please give some clues to solve it. Thanks in advance.:rolleyes: