<form name="form1"...>
<? echo $ID=$_GET['h'] ?>  //这里的$ID不是表单变量,所以无法传递.
<input type="text" name="k"...>
</form>改成这样试试<form name="form1" method="post" action="<? echo $PHP_SELF;?>?ID=<? echo $id;?>&k=<? echo $k;?>">
<input type="hidden" name="ID" value="<? echo $_GET['h'] ?>">
<input type="text" name="k" value="<? echo $_GET['h'];?>">
...
</form>

解决方案 »

  1.   

    TO: microfire(丁丁)我试过了,还是不行<form name="form1" method="post" action="<? echo $PHP_SELF;?>?ID=<? echo $id;?>&k=<? echo $k;?>">
    <?  $ID=$_GET['h'] ?>
    <input type="text" name="k" value="<? echo $ID;?>">   /////这个地方就奇怪了,这儿k是有值的
    </form>action里ID的值就是空的,晕了~~~
      

  2.   

    呵呵,原来是method惹的祸,感谢microfire!