Return to Snippet

Revision: 51242
at September 19, 2011 11:18 by DeluxiveState


Initial Code
<img src="http://yourimage/image_<?php echo(rand(1,5)); ?>.jpg" />

Initial URL

                                

Initial Description
<?php> will random load images named (in this example) image_1.jpg up to image_5.jpg

Initial Title
Random Image PHP

Initial Tags
php, image, wordpress

Initial Language
PHP