Marked - 9:14 am on Feb 20, 2010 (gmt 0)
Thank you for you replies :)
That isn't actually the syntax of the array. To get what I posted above, i used the following: print_r($array);
The array is generated by using a function which uses opendir and readir and stores the directory names and image names into the array. Thanks guys, I got the foreach loop working.
To save topic space, I'm also having another problem.
Using the same array, is it possible to order all of the items in alphabetical order? For example, order Mn, Am, Nm so its An,Mn,Nm. And then their individual arrays into alphabetical order. Does anyone know how to do that?