<form method="post" name="LayoutEditForm" id="LayoutEditForm" action="buy.php">
<input size="2" name="order[0][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
<input size="2" name="order[1][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
<input size="2" name="order[2][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
<input size="2" name="order[3][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
</form>
在数据库中读出来的,
现在我想表单提交后,怎么样得到order[0][<?php echo $rs[category_id];?>]这个数组,请问要怎么要取值.
<input size="2" name="order[0][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
<input size="2" name="order[1][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
<input size="2" name="order[2][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
<input size="2" name="order[3][<?php echo $rs[category_id];?>]" onKeyUp="value=value.replace(/[^\d]/g,'');"/>
</form>
在数据库中读出来的,
现在我想表单提交后,怎么样得到order[0][<?php echo $rs[category_id];?>]这个数组,请问要怎么要取值.
list($a, $b) = $row;
echo "$a $b<br />":
}
list($a, $b) = $row;
echo "$a $b<br />":
}这样输出没有值啊。