Is it possible to write description about an image without storing it in a db?
I have a photo gallery and instead of using a database, I have used the dir() function to read all the files in the folder then put it in an array.
It works fine but now I want selected images to have description.
I have this array of images:
 => image1.jpg
 => image2.jpg
 => image3.jpg
 => image4.jpg
 => image5.jpg
Now if I want to write description for just  and  then how do I do that and where will it be stored?
I have read about putting them into a txt file but I don't have a clue where to start!
Another small problem is I want the images to be sorted in date taken! I have read about using the filemtime() function but dont know hoe to use it properley so can someone point me in the right direction.
Hope you guys can help!