while ($desc = $db->fetch_assoc()):
$str = $desc['description'] . '<br>';
$fstr = wordwrap($str, 50, '<br>\n');
$desc1 .= "<option>" . $fstr ." </option>";
endwhile;
<select id="classtype">
<?php echo $desc1; ?>
</select>
wordwrap
不适用于<select>
吗?