如何把SQL数据库中 表的字段 和其他字段 用下拉菜单和文字显示 INSERT

来源:百度知道 编辑:UC知道 时间:2024/06/12 01:56:00
如果我的SQL数据库中的表中的值如下
A B C D E F G H I
A1 B1 C1 D1 E1 F1 G1 H1 I1
A2 B2 C2 D2 E2 F2 G2 H2 I2
A3 B3 C3 D3 E3 F3 G3 H3 I3

怎么做一个下拉菜单 菜单的值 分别为 A A1 A2 A3
当我选择A 时 右边的表格出来 B C D E F G H I
当我选择A1时 右边的表格出来 B1 C1 D1 E1 F1 G1 H1 I1
......A2.. .............. B2 C2 D2 E2 F2 G2 H2 I2
........A3. .............. B3 C3 D3 E3 F3 G3 H3 I3
知道的帮忙下 追加50分
楼下没看到调用数据库 的过程啊
这样我要把所有的值都用手填上啊
能不能补充一下
帮忙做个调用的循环过程

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script>
var currentObj = null;
function check(obj){
if (currentObj) currentObj.style.display="none";
currentObj=document.getElementById(obj.options[obj.selectedIndex].value);
if (currentObj)currentObj.style.display="";
}

</script>
</head>

<body>
<select name="select" id="select" style="flo