php photo and quote display one by one after a fix time
I am having a directory which has some photos and a directory which has quotes related to each photo , i want to display these photo and the related quote on my web page is it possible with php ,
Last edited by vinodonline2000; Dec 15, 2006 at
what do you mean time interval function?
how have you related the quotes to the images?
i mean i want to maintain a fix time b/w images and quotes to be displayed
and how to manage photo and related quote is the bigger problem , i am thinkin that by the the same name of photo and its related quote can help
im sorry i dont understand you.
my basic problem is how to show photo and its quote one at a time
how are the quotes stored? 1 quote per file? name of the quote is the filename?
see scandir() and friends to read a directory.
see pathinfo() to get the proper filename components.
see file_get_contents() to get the quote out of the file.
then you should be able to assemble the rest.