AndrewFerrara Posted February 5, 2011 Share Posted February 5, 2011 I want to create an animation using an image that refreshes every hour hosted at this url: http://www.bungie.net/stats/reach/nightmap.ashx What is the best way to store the images and then animate(loop) the 24 most recent images? Should I use a mysql database to store it or something else? What are your thoughts? Thanks Link to comment https://forums.phpfreaks.com/topic/226754-collect-and-animateloop-image/ Share on other sites More sharing options...
fortnox007 Posted February 5, 2011 Share Posted February 5, 2011 well what i can think of is a database with a table named images where you store the file name of the uploaded images. every-time you upload an image a new row is made in the table. Than you make a little php script hat does a simple select query $query = "SELECT * FROM images LIMIT 0,23 DESC"; Does this help a little? edit: table could look like this image_ID + image_name + timeperhaps --------------------------------------------------------- 0 | lalala.jpg | xxxxxx Link to comment https://forums.phpfreaks.com/topic/226754-collect-and-animateloop-image/#findComment-1170180 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.