Put them into an array and sort() the array. The loop through the sorted
array and output at that point.
-Rasmus
On Wed, 21 Aug 2002, Øystein Håland wrote:
When calling the function createLinks() I get an unsorted result, and that's
NOT what I want. But I'm not able (lack of knowlegde) to
Put them into an array and sort() the array. The loop through the sorted
array and output at that point.
Just what I try. But, because of my lack of understanding, the output is my
problem:
function createLinks() {
$p = 0;
$handle=opendir(.);
echo UL\n;
while ($file = readdir($handle)){
On Wednesday 21 August 2002 06:41, Øystein Håland wrote:
Put them into an array and sort() the array. The loop through the sorted
array and output at that point.
Just what I try. But, because of my lack of understanding, the output is my
problem:
You're not doing what has been suggested
3 matches
Mail list logo