是不是下面这样写就没有问题了
sql1="insert into [user] (user_id_name,user_password,user_name,user_sex,user_age,user_hospital_name,user_hospital_num) values ('"&user_id_name&"','"&user_password&"','"&user_name&"',"&request.form("user_sex")&","&user_age&",'"&user_hospital_name&"',"&user_hospital_num&")"
<td><input name="user_sex" type="radio" value="true" checked>
男
<input name="user_sex" type="radio" value="false">
女
</td>