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 Quote Link to comment 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 Quote Link to comment 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]; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.