thecase Posted April 11, 2008 Share Posted April 11, 2008 Hi, I have an url and id feild in my database the url field is a link to images. I want to randomly fetch all the images in no order ... and display them then I need take a little bit of javascript to change the image like fade out ... fade in so this is the plan fetch random image from database display image wait 5 seconds fade image out fade new image in How can I do this Thanks Link to comment https://forums.phpfreaks.com/topic/100685-gallery/ Share on other sites More sharing options...
friedemann_bach Posted April 11, 2008 Share Posted April 11, 2008 To learn about fetching random entries from a database, read: http://www.phpfreaks.com/forums/index.php/topic,125759.0.html Then, either reload the whole site automatically every 5 seconds (set refresh to 5 seconds in your meta tags), or, if the gallery is only a section on your page, update it with AJAX. Hope this helps! Link to comment https://forums.phpfreaks.com/topic/100685-gallery/#findComment-514917 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.