feel8(准备早起的鸟) :
我也想过这个方法,试试先.还有一个问题,从a页面要传递100个post数据给b页面.我该怎么用数组,而且怎么知道数据的顺序?

解决方案 »

  1.   

    <input type=text name=param[] value=1>
    <input type=text name=param[] value=2>
    <input type=text name=param[] value=3>
    <input type=text name=param[] value=4>b接到的param是一个array
      

  2.   

    如果不能用where,那就要具体问题具体解决。
      

  3.   

    看条件是否有相似的了,用like '%%'来UPDATE
      

  4.   

    用循环来写那句sql也行 :)
      

  5.   

    好像是没有什么好方法了。从a页面要传递100个post数据给b页面.我该怎么用数组,而且怎么知道数据的顺序?
      

  6.   

    okdw(零零发财) 说的这样,
    表单
    <input type=text name=param[] value=1>
    <input type=text name=param[] value=2>
    <input type=text name=param[] value=3>
    <input type=text name=param[] value=4>顺序自然是从上到下依次排下来。
      

  7.   

    有没有使用id的方法?在b页面怎么得的param[]的值?
    比如一个一个的显示出来!
      

  8.   

    在b页面怎么得的param[]的值?比如一个一个的显示出来!另外:怎么使用input的id属性?
      

  9.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    </head><body>
    <form name="form1" method="post" action="test.php">
    <input type=text name=param[] value=1>
    <input type=text name=param[] value=2>
    <input type=text name=param[] value=3>
    <input type=text name=param[] value=4>
      <input type="submit" name="Submit" value="提交">
    </form>
    </body>
    </html>
    <?php
    if(!$_POST['param']){
    echo "错误";
    }else{
    for ($i=0; $i<count($_POST['param']); $i++){
    echo $_POST['param'][$i]."<br>";
    }
    }?>