| ★ wanayoo — archive 1999 http://www.phpbuilder.com/manual/function.each.php3 | Nouvelle recherche | Portail wanayoo |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
eacheach -- return next key/value pair from an array Descriptionarray each(array array);Returns the current key/value pair from the array array and advances the array cursor. This pair is returned in a four-element array, with the keys 0, 1, key, and value. Elements 0 and key each contain the key name of the array element, and 1 and value contain the data.
each() is typically used in conjunction with list() to traverse an array; for instance, $HTTP_POST_VARS:
See also key(), list(), current(), reset(), next(), and prev().
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Sample Code | Columns | Mail Archive | Support | Get Started! | Links | Contribute!
Contact (non support questions) By viewing these pages you agree to the Legal Terms of Service.
Geocrawler.com | GoToCity.com | DirectriCity.com | PHPBuilder.com | The Des Moines City.net |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||