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
PHP image gallery
Moderator: General Moderators
Re: PHP image gallery
anyone have any advice?orbface9 wrote: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