Random image
Random image
Out of context: Reply #2
- Started
- Last post
- 7 Responses
- bolus0
i use php and a mysql database... this is the code:
{$file_array = array
('http://www.janpostma.com/37.jp...
'http://www.janpostma.com/41.jpg...
'http://www.janpostma.com/42.jpg...
'http://www.janpostma.com/85.jpg...
'http://www.janpostma.com/45.jpg...$total = count($file_array);
$random = (mt_rand()%$total);
$file = "$file_array[$random]";
echo("");}