时间:2021-07-01 10:21:17 帮助过:35人阅读
foreach($_POST['a'] as $i=>$a) { $b = $_POST['b']; $d = $_POST['c']; $d = $_POST['d']; $e = $_POST['e']; //与 $a,$b,$c,$d,$e 相关的操作}
foreach(array_map(null, $_POST['a'], $_POST['b'], $_POST['c'], $_POST['d'], $_POST['e']) as $r) { //对 $r 的相关操作}
foreach($_POST['a'] as $i=>$a) { $b = $_POST['b']; $d = $_POST['c']; $d = $_POST['d']; $e = $_POST['e']; //与 $a,$b,$c,$d,$e 相关的操作}
foreach(array_map(null, $_POST['a'], $_POST['b'], $_POST['c'], $_POST['d'], $_POST['e']) as $r) { //对 $r 的相关操作}
你自己看看循环中得到的都是什么