<select name="COMPWIDTH" onchange="paint('comp','setWidth',this.options[this.selectedIndex].value);">
<?php for ($i=135; $i <= 335; $i+10)
{
if ($i == '215') { $selected = ' SELECTED';} else {$selected='';}
echo "<option value=\"$i\"$selected>$i";
}
?>
</select>
it just keeps putting 135 in the select box. the loop is in a loop.