Hi,
I am triing to write treeview component for PHP.
I am using dir to read the directory contents. But this brings the list in creating date order I want to read directories first then files in the directory.
e.g -> dir a is having
x, y, z directories
c,b,L are the files.
I want to read the list like.
x,y,z,c,bL order directories first , files next.
how can I do this ..please help me.
Thanking you all..
with Regards
venkat.