@ZnupiJul 19.2008 — #It depends on what you exactly want. When using the [code=php]foreach (array_expression as $value) {}[/code] form, you only get the value of each item in the array. When using the [code=php]foreach (array_expression as $key => $value) {}[/code] form, on the other hand, you also get the key name. That's useful when you have an associative array, and you don't know the exact keys: [code=php] $array = Array ( "someKey" => "someValue", "anotherKey" => "anotherValue" ); foreach ($array as $value) echo $value; // you only get the values, "someValue anotherValue"; foreach ($array as $key => $value) echo $key . ': ' . $value . ' / '; // You also get the keys -- "someKey: someValue / anotherKey: anotherValue" [/code] Hope that helps ?