How to skip the 1st key in an array loop?

Posted by aeran on Stack Overflow See other posts from Stack Overflow or by aeran
Published on 2008-12-16T14:52:25Z Indexed on 2010/05/20 4:00 UTC
Read the original article Hit count: 169

Filed under:
|

I have the following code:

if ($_POST['submit'] == "Next") {
    foreach($_POST['info'] as $key => $value) {
    	echo $value;
    }
}

How do I get the foreach function to start from the 2nd key in the array? Thanx.

© Stack Overflow or respective owner

Related posts about php

Related posts about arrays