PHP expert |
|
<?php
function sortFile($x, $y){
return strcasecmp($x['filetype'], $y['filetype']);
}
uasort($array, 'sortFile');
?>
<?php function sortFile($x, $y){ return strcasecmp($x['filetype'], $y['filetype']); } ?>
Als je nou gewoon even die tutorial had gelezen...
|