PHP image gallery
Posted: Wed Mar 12, 2008 4:44 pm
Hello,
I have a client who wants an image gallery. It will be an AJAX page with 3 images per page. These images will rotate in and out.
I want to create a php function that will pass the file names to a javascript function. The catch is, that i want to sort these values in the php array, by date created. Is this possible, if so, how hard is it?
I found this. http://www.javascriptkit.com/javatutors ... php2.shtml
It told me how to get the php array to pass to the javascript array, but cannot get any further.
Any help is appreciated.
Thanks
I have a client who wants an image gallery. It will be an AJAX page with 3 images per page. These images will rotate in and out.
I want to create a php function that will pass the file names to a javascript function. The catch is, that i want to sort these values in the php array, by date created. Is this possible, if so, how hard is it?
I found this. http://www.javascriptkit.com/javatutors ... php2.shtml
It told me how to get the php array to pass to the javascript array, but cannot get any further.
Any help is appreciated.
Thanks