Re: Sorting Arrays

From: Date: Sat, 19 Aug 2000 00:05:28 +0000
Subject: Re: Sorting Arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12553@lists.php.net to get a copy of this message
Jay Greenspan wrote: > $d = dir("/your/path"); > while($artist_list=$d->read()) > { > if(is_dir("path/$artist_list")) > { > $artist[] = $artist_list; > } > } > sort($artist); > foreach($artist as $value) > { > echo "$value<BR>\n"; > } > $d->close(); > ?> As a newbie to php I have seen -> used but what does it do? Kevin

« previous php.general (#12553) next »