用get方式传递?这样当然不行啦。必须要post才能直接传数组。
input的name要类似 name="aa[0]"  name="aa[1]"用连接传递要把数组拆开,放到连接里check.php?arg1=a&arg2=b&arg3=c

解决方案 »

  1.   

    把数组变成字符串就可以用GET方式传递,在接受页,再重新组合成数组,也可以不重新组合
    具体看你怎么用
      

  2.   


    表单传递
    试试
    <?php  for($count=0;$count <4$count++)  
    {  
    echo " <tr> <td> <input type=\"text\" name=\"{arr[$itemamountsent[$count]]}" size=\"10\" value=\"$itemamount[$count]\" ";  
    //echo " <tr> <td> <input type=\"text\" name=\"{arr[".$itemamountsent[$count]."]}\" size=\"10\" value=\"$itemamount[$count]\" ";  echo " </td> ";  
    echo " </tr> ";  
    }  
     
    第二张网页上是这样!  
    <?php  
    print_r($_POST[arr]); ?>   
    为什么第二张上打印不出来??
      

  3.   

    第一张网页上如果没有提交的话数组就根本没有付值嘛
    传递字符串可以参考.net 的样子,base64_encode(serialize($arr))