21,873
社区成员




$str_select.= "<option value=" .$row['classid'] if ($classid == $row['classid']){ echo "selected"}.">" .str_repeat( "-" ,$depth) . $row['classname']."</option>"; //字符串构建
$str_select.= "<option value='" .$row['classid']."' ".($classid==$row['classid']? "selected" : "").">" .str_repeat( "-" ,$depth) . $row['classname']."</option>"; //字符串构建