Kris wrote:
> http://camacho.tv/index.php
>
> When you click the picture banner on top of the page, it opens a new
> picture. I really like this and I wish I could have it on my site.
> I'm not really into programming and web development, but nonetheless, I'm
> hoping that I can accomplish this with some sort of tool maybe?
>
> Can anyone give me a tip on how to do this? Or do you know other sites where
> you can see the same thing?
It looks like it just randomly chooses a file to display when the PHP is
executed. I've done this before, and it goes something like this:
<?php
$select=array(
'image1.jpg',
'image2.jpg',
'image3.jpg',
);
$display_img=$select[array_rand($select,1)];
?>
--
Justin Koivisto -
spam@koivi.com
http://www.koivi.com