I need some help with PHP.

New Member
Joined
Sep 8, 2002
Messages
93
Best answers
0
I tried to make some php that will display a random image, but it doesn't work. Can some one with good PHP skills help me out? Thanks.
PHP:
<html>
<?php


$file[0] = 'http://www.boomspeed.com/mikeyjmw/DBZsig.jpg';
$file[1] = 'http://www.boomspeed.com/mikeyjmw/motovationsig.jpg';

$i = rand(0,count($file));
floor($i);

echo $file[$i];



php?>
</html>
 

Users who are viewing this thread

Top Bottom