Maison > Article > développement back-end > php学习笔记之动态生成一组单选按钮
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>动态生成一组单选按钮</title>
'; } $value = htmlentities($value); $html .= ''; $html .= $label; $html .= ' | '; ++$i; ++$s; } return $html; } $options = array("100", "400m", "1500m", "跳高", "立定跳远", "三级跳远", "铅球", "实心球", "三项全能", "接力赛"); $default = "2"; $col = 3; //表格的列数 $html = GenerateRadioGroup("RadioEvent", $options, $col, $default); echo $html; ?>