Skip to content

Commit

Permalink
create tmp array
Browse files Browse the repository at this point in the history
  • Loading branch information
xianglei committed Apr 19, 2012
1 parent 311fb64 commit 11d1d4b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions history.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@
} }
$i++; $i++;
} }

$i = 0;
foreach ($file_array as $v)
{
$array[$i] = $v;
$i++;
}
$file_array = $array;

closedir($dh); closedir($dh);
var_dump($file_array); var_dump($file_array);
#Filename quick sort by date desc #Filename quick sort by date desc
Expand Down

0 comments on commit 11d1d4b

Please sign in to comment.