$styleselect = '';
$query = $db->query("SELECT styleid, name FROM {$tablepre}styles WHERE available='1'");
while($style = $db->fetch_array($query)) {
$styleselect .= "<option value=\"$style[styleid]\" ".
($style['styleid'] == $member['styleid'] ? 'selected="selected"' : NULL).
">$style[name]</option>\n";
}
$styleselect = '';
foreach($stylejump as $key => $var) {
$styleselect .= "<option value=\"$key\" ".
($key == $member['styleid'] ? 'selected="selected"' : NULL).
">$var</option>\n";
}