用JS来控制,单击的时候 form_a.submit();form_c.submit();就OK了

解决方案 »

  1.   

    你可以都提交,然后不处理form_b就行了。
      

  2.   

    同意樓上的,有選擇的處理form
      

  3.   

    可以根據 $_POST["submit"]的值來選擇性處理
      

  4.   

    <?php
    echo $_POST['t3'].'<br>';
    echo $_POST['bb'].'<br>';?>
    <!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 type="text/javascript">
    function submitform(){
    //form_a.submit();
    form_c.bb.value = form_a.t1.value;
    form_c.submit();
    }
    </script>
    </head><body>
    <form id="form_a" name="form_a" method="post" action="a.php">
      <input type="text" name="t1" />
    </form>
    <form id="form_b" name="form_b" method="post" action="a.php">
      <input type="text" name="t2" />
    </form>
    <form id="form_c" name="form_c" method="post" action="a.php">
      <input type="text" name="t3" />
      <input name="bb" type="hidden" id="bb" value="" /></form><input type="submit" name="Submit"  onclick="submitform()" value="提交" />
    </body>
    </html>
    bb里可以存form_a里多个值,只要组好串用的时候拆串就行了.