I'm new to PHP and was wondering what code I would need in order to show details that are held in a MySQL database. I want users to choose from two text boxes and an answer will come up, this answer needs to come from the database. I have done select statements in MySQL so it works on that interface, not sure if this will help. My HTML code is:
</select>
<select name="Surface">
<option value="Carpet">Carpet</option>
<option value="Vinyl Flooring">Vinyl Flooring</option>
</select>
<select name="Soil Level">
<option value="Light">Light</option>
<option value="Medium">Medium</option>
<option value="Medium">Heavy</option>
</select>
So the user can choose from the dropdown boxes. These details are in the database for example when a user selects carpet and medium a message will be given to them and so on eg. "carpet" and "heavy" will give a different message.
Please help!!!