At 30.04.2002 17:24, you wrote: > >Hi there, > >I got a number of files in the directory "/reviews/txt" which are reviews. >They are submitted by people all over the world. > >Can someone please tell me what I need to do so that I can display them in >date order, newest at the top on a webpage? > >Cheers, Ian. >--- >Randum Ian >DJ / Reviewer / Webmaster, DancePortal (UK) Limited >[EMAIL PROTECTED] >http://www.danceportal.co.uk >DancePortal.co.uk - Global dance music media exec("ls -lc reviews/txt/*",$result); for($i=0;$i < count($result);$i++) { if(($result[$i] ==".")||($result[$i] =="..") {} // do notjing else { do something with $result[$i]; } } HTH Oliver
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php