Last active
December 16, 2015 16:19
-
-
Save jonbellah/5462674 to your computer and use it in GitHub Desktop.
Random Image with PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="http://www.example.com/images/image-<?php echo rand(1,7); ?>.jpg"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment