PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You can do it with javascript... I don't know the exact code, but I know it's pretty easy to change the source of an image to a new one. (you can save the images in a javascript array and have js select one randomly)
Sleep just delays the script execution, but you can not change anything on the client side through PHP...
PHP generates HTML and that is sent to the client...
ok, this may not work at all for your purposes. If you want to display a series of images without using any client side script, there's a chance you could use an animated gif, with each frame being a different image, and a 10 second delay between frames. JASC's animation shop (comes with paint shop pro) has tools that will let you do this, I've had good success with it.