采用:
$postvalue = array("a", "b", "c");foreach($postvalue as $value){ echo '<input type="hidden" name="result[]" value="'. $value. '">';}您将得到
$_POST['result']一个数组。
print_r($_POST['result']);

采用:
$postvalue = array("a", "b", "c");foreach($postvalue as $value){ echo '<input type="hidden" name="result[]" value="'. $value. '">';}您将得到
$_POST['result']一个数组。
print_r($_POST['result']);