echo $_post['文本框属性名称'];绝对OK

解决方案 »

  1.   

    form表单的action要写对哦,传到哪个页面上,就在哪个页面上使用$_post[]方法
      

  2.   

    php1.php
    <html>
    <body>
    <form id="form1" name="form1" method="post" action="php2.php">
      <input type="text" name="see" />
      <input type="submit" name="提交">
    </form>
    </body>
    </html>
    <?phpphp2.php
    echo $_POST['see'];?>
      

  3.   

    静态面传递值到静态面.要用js静态面传递给php页面,只要$_REQUEST就可以了
      

  4.   

    上个文件,0616_1.htm:
    <form action=0616_2.php method=post>
    <input type=text name="txt">
    <input type=submit value="sub">
    </form>下个文件,0616_2.php:
    <?php
    //$txt=$_POST["txt"];
    echo"<input type=text value=$txt>";
    ?>
      

  5.   

    html用js
    getElementById("id").value;
      

  6.   

    获取后,直接用get传过去; 
      

  7.   

    直接把表单设置成GET方式,当选择提交表单后,所有表单中的变量将会,附在URL的后面1、如果提交的页面是php,直接可以用$_GET方式接收
    2、如果是html,静态页面,可以用js来分析URL(window.location.href),将参数取出,做相应的处理