I am calling selected value twice in PHP instead of once.
Please anyone solve my problem??
Html part:
<select name="mol[]" >
<option value="">Choose Mode of License</option>
<option value="standalone">Standalone</option>
<option value"wan">WAN</option>
<option value"lan">LAN</option>
</select>
php code:
echo "<td>";
echo "<select name='mol' class='mol'>
<option value='$row[mol]'>$row[mol]</option>
<option value='standalone'>Standalone</option>
<option value='wan'>WAN</option>
<option value='lan'>LAN</option>
</select>";
echo "</td>";
Use loop and generate a select box