I have the following code:
if ($_POST[\'submit\'] == \"Next\") { foreach($_POST[\'info\'] as $key => $value) { echo $value; } }
If you're willing to throw the first element away, you can use array_shift(). However, this is slow on a huge array. A faster operation would be
array_shift()
reset($a); unset(key($a));