PDA

View Full Version : Simple Random Image Displayer


Logitech-2004
03-18-2004, 04:43 AM
A Simple Random Image Displayer

Were I Can Set The Max Images On File
image01.gif
image02.gif
image03.gif
image04.gif

I Want The Image To Show Up In The Postbit ;)

Karthick
03-18-2004, 04:57 AM
$t = rand(1, 4);

echo "<img src=\"image0" . $t . ".gif\">";

FleaBag
03-18-2004, 01:40 PM
This goes in phpinclude? Is there a php function for allowing equal shows of images listed in such a way?