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.

Thanks. I'm gonna have to invest some time in this JQuery.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.