0

Call me a noob, but is there a way to use just PHP to create a photo slideshow? Or do you need to use flash? I have code that will display images in a random sequence, which is fine.

<?php 
	   $pic = rand(1,15);
	   
	   print "<img src=\"images/$pic.jpg\"  height=\"100\" width=\"140\" />"; 
	?>

But this is in the middle of other elements on a web page. So I need to find a way to make the images change without refreshing the page.

Thanks in advance.

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Dante2
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.