Page 1 of 1

Create Function for Image Archive

Posted: Fri Sep 25, 2009 8:44 pm
by azri_bech
How to Create the simple function for image archive
once user click the year,they will display the month for the image archived that record by date_posted

(2009)
-Jan
-Feb(2)
-Mar(1)
-Apr(0)
(2008)
-Jan(1)
-Feb(2)

Thanks

Re: Create Function for Image Archive

Posted: Mon Sep 28, 2009 1:47 pm
by uyewq
hi,
your requiremrnt is so general that precise help doesn't seem to be possible...
i recommend you that 1- design your mysql table 2- create connection 3- get values from suitable rows
for step 1, maybe image_id, image_url , image_adding_date,image_time, image_title_info, image_alt_info, width, height, type, extra_notes,img_keywords ... ...
for step 3 for example, you can extract year and also month info from image_adding_date ...

if you are very new to these steps, you should read and apply tutorials that thousands of exist on web.
Bye