# Long time no see... PHP Arrays anyone?

**URL:** <https://forum.kirupa.com/t/long-time-no-see-php-arrays-anyone/222559>\
**Category:** programming\
**Created:** [April 14, 2007, 8:07pm UTC](https://forum.kirupa.com/t/long-time-no-see-php-arrays-anyone/222559 "2007-04-14T20:07:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FreakSheep](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@FreakSheep](https://forum.kirupa.com/u/FreakSheep)\
**Post date:** [April 14, 2007, 8:07pm UTC](https://forum.kirupa.com/t/long-time-no-see-php-arrays-anyone/222559/1 "2007-04-14T20:07:54Z")

</div>

It’s been a while since I’ve strolled these woods…

Anyway… Good to be back.

I’m making a photo gallery with php, and I want to make a directory list of all the folders in which the photos are kept in. You click on a folder it opens up.

Thats all dandy there, but I have a few ways I want to have this directory ordered. Chronologically, by blog entries(if they were published in a blog), and whatever albums I may want. Each photo is a row and has characteristics that are used to determine the place of the photo and blah blah blah.

I was wondering if theres anyway I can use array to dump the photo’s table info, instead of using multiple queries? I don’t know too much about array’s, and I’m hoping theres some way you can identify different values and locate them accordingly.

Thanks!  
Naaman.
