Suppose I send an array of emails. The emails is an array containing [email protected], [email protected], [email protected] the receiving side I am trying retrieve the emails.\[code\] foreach ($_POST['emails'] as $i => $value) { echo "emails[$i] is $value<br />"; }\[/code\]Is this the correct way to do it?for the foreach loop, would it iterate until all the data out of emails array finished?