For reasonably small arrays, use array_slice to create a second one:
foreach(array_slice($_POST['info'],1) as $key=>$value)
{
echo $value;
}
Related Contents:
- “Notice: Undefined variable”, “Notice: Undefined index”, “Warning: Undefined array key”, and “Notice: Undefined offset” using PHP
- Reference – What does this error mean in PHP?
- PHP array delete by value (not key)
- Get first key in a (possibly) associative array?
- Replace keys in an array based on another lookup/mapping array
- Difference between array_map, array_walk and array_filter
- Convert flat array to a delimited string to be saved in the database
- How to remove duplicate values from a multi-dimensional array in PHP
- How to Flatten a Multidimensional Array?
- How to convert array to SimpleXML
- How to insert element into arrays at specific position?
- + operator for array in PHP?
- How to get the last element of an array without deleting it?
- PHP reindex array? [duplicate]
- How to search by key=>value in a multidimensional array in PHP
- How to solve PHP error ‘Notice: Array to string conversion in…’
- After array_filter(), how can I reset the keys to go in numerical order starting at 0
- Reset PHP Array Index
- Modify array values in foreach loop [duplicate]
- Array_merge versus + [duplicate]
- Fastest way to implode an associative array with keys
- Which is faster in PHP, $array[] = $value or array_push($array, $value)?
- Checking for empty arrays: count vs empty
- PHP Remove elements from associative array
- Search for highest key/index in an array
- In Twig, check if a specific key of an array exists
- PHP Objects vs Arrays — Performance comparison while iterating
- Create an assoc array with equal keys and values from a regular array
- How to “flatten” a multi-dimensional array to simple one in PHP? [duplicate]
- Checking during array iteration, if the current element is the last element
- php: check if an array has duplicates
- Merge two arrays containing objects and remove duplicate values
- How to find a value in an array and remove it by using PHP array functions?
- PHP sort array alphabetically using a subarray value [duplicate]
- How to get single value from this multi-dimensional PHP array [duplicate]
- How to check not in array element
- Doctrine array vs simple_array vs json_array
- PHP – use array as class constant [duplicate]
- Use json_decode() to create array insead of an object
- PHP – How to get the element before the last element from an array?
- How to search in an array with preg_match?
- How to see full content of long strings with var_dump() in PHP
- Create new variables from array keys in PHP
- How to generate in PHP all combinations of items in multiple arrays
- HTML input arrays
- How is the PHP array implemented on the C level?
- Limit array to 5 items
- PHP: Remove the first and last item of the array
- Check and return duplicates array php
- How to use php array with sql IN operator? [duplicate]