onedumbcoder Posted August 10, 2009 Share Posted August 10, 2009 lets say i have an array with 20 items in it I want to capture all the values in that array but i want to skip the first 4 elements how do i do that? Quote Link to comment Share on other sites More sharing options...
Maknis Posted August 10, 2009 Share Posted August 10, 2009 Try $slice = array_slice($array, 4); lets say i have an array with 20 items in it I want to capture all the values in that array but i want to skip the first 4 elements how do i do that? Quote Link to comment Share on other sites More sharing options...
mukunda Posted August 10, 2009 Share Posted August 10, 2009 Use the for from index 4. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.