/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php //total number of images $totalimages = "300"; //file type $file_type = ".jpg"; //location $image_folder = "../assets/images/"; //start counting from number $startcounter = "1"; $image_name = $image_folder . $random . $file_type; ?> <img src="<?php echo $image_name; ?>" name="image<?php echo $random; ?>" width="" height="" border="0" id="image<?php echo $random; ?>" alt="" />
Comments
