jduffell Posted January 27, 2009 Share Posted January 27, 2009 hi, i used to have a php script which allowed me to randomly display an image from 10 possible images, would it be possible to do a similar thing where 3 different images are loaded from 10 possible options. i've never seen this done with more than one image. thanks guys Link to comment https://forums.phpfreaks.com/topic/142650-random-images/ Share on other sites More sharing options...
mapleleaf Posted January 27, 2009 Share Posted January 27, 2009 Sure. Show your script and it can probably be altered very easily Link to comment https://forums.phpfreaks.com/topic/142650-random-images/#findComment-747699 Share on other sites More sharing options...
rhodesa Posted January 27, 2009 Share Posted January 27, 2009 $images = array( //list of images here ); suffle($images); print $images[0]; print $images[1]; print $images[2]; Link to comment https://forums.phpfreaks.com/topic/142650-random-images/#findComment-747704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.