它们已经在数组中:
$name是数组,是这样
因此,您需要做的就是添加一些处理以攻击两个阵列:
$name = $_POST['name'];$email = $_POST['account'];foreach( $name as $key => $n ) { print "The name is ".$n." and email is ".$email[$key].", thank youn";}要处理更多输入,只需扩展模式:
$name = $_POST['name'];$email = $_POST['account'];$location = $_POST['location'];foreach( $name as $key => $n ) { print "The name is ".$n.", email is ".$email[$key]. ", and location is ".$location[$key].". Thank youn";}


