Link to home
Start Free TrialLog in
Avatar of wrynn
wrynn

asked on

how can i sort files alphabetically that have been read from a directory before printing them?

my current code is below
if ($handle = opendir($addr)) {
     
    
  
    while (false !== ($file = readdir($handle))) {

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any news?