我想做一个只要在菜单中选择了id号(对应的页面是bbs_add_bz),就能得到对应的lt_user表里面的其他字段值,然后再把这些字段的值通过隐藏域传递到bbs_add_bz_ok.php页面,并把lt_user表里的部分字段插到lt_bz表里面,返回到bbs_bzgl.php页面显示出来。请各位老师帮忙看看,lt_type,lt_user,要怎样才能获取到值,红色部分是传递的值,
下面是相关代码:bbs_add_bz.php
<body>
<form id="form1" name="form1" method="post" action="bbs_add_bz_ok.php">
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="32" background="images/right_line.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您现在的位置:<a href="main.php">校园馨浪网站后台管理系统</a> &gt; 版主管理&gt; 添加状态 </td>
  </tr>
  <tr>
    <td height="32" background="images/right_top.gif">&nbsp;</td>
  </tr>
  <tr>
  <td height="488" align="center" valign="top" background="images/right_middle.gif">
    <table width="300" height="40">
      <tr>
        <td height="40" background="images/biaoti.gif"><div align="center"><span class="STYLE2">添加版主</span></div></td>
      </tr>
      <tr>
        <td height="30">&nbsp;</td>
      </tr>
    </table>
    <table width="521" height="103" align="center">
        <tr>
          <td width="73" height="16"><span class="STYLE3">版块内容:</span></td>
          <td width="436"><div align="left">
            <select name="lt_small_type_content" id="lt_small_type_content">
              <option selected="selected">请选板块内容</option>
              <?php 
       include("conn/conn.php");
       $query=mysql_query("select * from lt_small_type");
                   while($result=mysql_fetch_array($query)){
              ?>
              <option value="<?php echo $result[lt_small_type_content];?>"><?php echo $result[lt_small_type_content];?></option>
              <?php }?>
            </select>
            <input name="upload" type="hidden" id="upload" value="<?php echo $_SESSION["admin_user"] ;?>" />
</div></td>
        </tr>
        <tr>
          <td height="16">会员ID:</td>
          <td width="436">
            <div align="left">
              <select name="id" id="id">
                <option selected="selected">请选择会员ID</option>
                <?php 
       include("conn/conn.php");
       $query=mysql_query("select * from lt_user");
                   while($result=mysql_fetch_array($query)){
              ?>
                <option value="<?php echo $result[id];?>"><?php echo $result[id];?></option>
                <?php }?>
</select>
              
            <?php
              include("conn/conn.php");
              if(isset($_GET['id']))
                  {
                  $id=$_GET['id'];
                  $query=mysql_query("select * from lt_user where id='".$id."'",$conn);    
                      while($result=mysql_fetch_array($query)){
              ?>
                         <input name="lt_user" type="hidden" id="lt_user" value="<?php echo $result['lt_user'] ;?>" />
                     <input name="lt_type" type="hidden" id="lt_type" value="<?php echo $result['lt_type'] ;?>" />
  
         <?php }?>
         <?php }?>

            </div></td>
        </tr>
        <tr>
          <td colspan="2" align="center"><label>
            <input type="submit" name="Submit" value="添加" />
          </label>
            <label>
            <input type="submit" name="Submit2" value="取消" />
            </label></td>
          </tr>
      </table>
    <tr>
    <td height="32" background="images/right_bottom.gif">&nbsp;</td>
  </tr>
  </table></form>
</body>
bbs_add_bz_ok.php的代码:
<?php    include("conn/conn.php");
    $time=date("Y-m-j H:s:i");
    if(isset($_POST['Submit'])  && $_POST['id']!=null && $_POST['lt_small_type_content']!=null )
    { 
       $insert=mysql_query("insert into lt_bz(id,lt_small_type_content,upload,lt_type,lt_user,lt_time) values('".$_POST['id']."','".$_POST['lt_small_type_content']."','".$_POST['upload']."','".$_POST['lt_type']."','".$_POST['lt_user']."','".$time."')");
   if($insert)
   {
       echo "<script> alert('版主添加成功!'); window.location.href='bbs_bzgl.php'</script>";
   }
   else
   {
       echo "<script> alert('版主添加失败!'); window.location.href='bbs_bzgl.php' </script>";
   }
    }
    else if(isset($_POST['Submit2']))
    {
        echo "<script> alert('取消成功!');  window.location.href='bbs_bzgl.php'</script>";
    }
?>