View Single Post
  #1  
Old 06-05-2010, 08:35 AM
webdev webdev is offline
Senior Member
 
Join Date: Jun 2009
Posts: 7,868
Default help needed random image

Sorry if this seems like a stupid question. I'm a beginner and I'm not sure what to do I have 5 images from 1-4.png and 5.jpg (5 images in total, 4 pngs and 1 jpg) I want to show a random image so I generate a number from 1-5 using PHP: --------- $random=rand(1,5) --------- this is where...
__________________
Website Development
Domain Name Forum
Reply With Quote