PHP怎样在网页间传递数组??
悬赏分:0 - 离问题结束还有 14 天 14 小时
第一张网页上是这样!
<?php
for($count=0;$count<4$count++)
{
echo "<tr><td><input type=\"text\" name=\"$itemamountsent[$count]\" size=\"10\" value=\"$itemamount[$count]\" ";
echo "</td>";
echo "</tr>";
}
$arg=implode(";", $itemamountsent);
?>
<a href="check.php?arg=$arg">ok</a>
第二张网页上是这样!
<?php
$itemamountsent=explode(";", $arg);
echo $itemamountsent[0];
$count=0;
?>
为什么第二张上打印不出来??