<%
int change_ok = 0;
String sql_sr = "select * from tbl_edu where c_home = " +c_home + " and c_no = " + c_survey_no;
ResultSet rs_sr = stmt.executeQuery(sql_sr);
if(rs_sr.next()){
%>
<%=rs_sr.getString("c_name")%>
<%
}
rs_sr.close();
%>
<%
sql_sr=" SELECT * from tbl_edu_curi where c_edu_no = " + c_survey_no + " and c_up_no = 0 and c_use=0 order by c_order asc";
rs_sr = stmt.executeQuery(sql_sr);
while (rs_sr.next()) {
%>
<%=rs_sr.getString("c_title")%>
<%
String sql_sr2=" SELECT * from tbl_edu_curi where c_edu_no = " + c_survey_no + " and c_up_no = "+ rs_sr.getInt("c_no") +" and c_use=0 order by c_order asc";
ResultSet rs_sr2 = stmt.executeQuery(sql_sr2);
while (rs_sr2.next()) {
%>