select取数据库值设为默认值,TP框架模板中ifelse
<select id="c-group" data-rule="required" class="form-control" name="row[group]">
{volist name='group_list' id='group_list'}
<option value='{$group_list.name}' {if $group_list.name==$row.group} selected="selected" {/if}>{$group_list.name}
</option>
{/volist}
</select>