04-10-2009, 04:07 PM
|
#5 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
PHP Code:
function print_array($array) {
foreach($array as $element) {
echo $element . ' ';
}
}
$array = array(1, 2, 3, 4, 5, 6); print_array($array); //output: 1 2 3 4 5 6
__________________
|
|
|
|