|
Ok.
I'm no php whiz, I'm a designer.
But here's my script:
<?php
$total = "1";
$file_type = ".jpg";
$image_folder = "images/rotate2";
$start = "112";
$random = mt_rand($start, $total);
$image_name = $random . $file_type;
$url = "pics/pic_" . $random . '.php';
echo "<a href=\"$url\" target=\"_blank\"><img src=\"$image_folder/$image_name\" /></a>"
?>
Do you know how I can fix it to make it 5.3 compliant?
Thanks for the help.
|