i have this code:
<select class='okin' name='netiotitmn' id='netiotitmi' disabled>
<option> </option>
<?php
$x = 0; $y = 60;
while($x <= $y) {
$selected="";
if ($x=9) {$selected="selected";}
echo "<option value='$x' $selected>" . szpad($x) . "</option>";
$x++;
}
?>
</select>
I want set value 9 as a default but it not change everything. Supposedly the value 09 because i set it as default value if open this form and can change the value if the user select another value but it should 9 by default. it just blank and have drop down loop.