I have three dropdown lists having 6,3,3 options in them respectively. I need to compute a value depending on the combination of values chosen from the dropdown lists.I have 54 different values for 54 different permutations and combinations for the dropdown menus. Please suggest an optimized way of achieving this in php.
enter code here
<select name="designation" id="desg">
<option value="1">International Doctor</option>
<option value="2">Domestic Doctor</option>
<option value="3">MBBS STUDENT</option>
<option value="4">nursers </option>
<option value="5">Postgraduates / Interns</option>
<option value="6">Faculty</option>
</select>
<select name="workshop" id="wshop">
<option value="None">None</option>
<option value="workshop1">workshop1:PACET</option>
<option value="workshop2">workshop2:PEMC</option>
<option value="workshop3">workshop3:Research Workshop</option>
</select>
<select name="category" id="cat">
<option value="None">None</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
if a user select his designation,category,workshop the corresponding amount should be displayed picture contain a table with corresponding amount for different workshops,desginations,category