Nieuw lid |
|
misschien heb je hier iets aan....
<?php
$fruits = array("lemon", "orange", "banana", "apple");
sort($fruits);
foreach ($fruits as $key => $val) {
echo "fruits[" . $key . "] = " . $val . "\n";
}
?>
<?php $fruits = array("lemon", "orange", "banana", "apple"); foreach ($fruits as $key => $val) { echo "fruits[" . $key . "] = " . $val . "\n"; } ?>
dit staat op http://nl3.php.net/manual/nl/function.sort.php |