Filed under: PHP

PHP Random Image Script

by Ryan Maffit on Jun 5th, 2009

Tags Share Comments (1)

This script takes a list of images with links and randomly outputs one of them.

<img src="\" alt="\&quot;&quot;.$img[1].&quot;\&quot;" />";
?&gt;
Related Articles
Leave a Comment »1 Comment
  • Reply » johnlongslinger March 15, 2010

    Hello. John here. I am new to the community. First of all, I want to thank those that have put this together. It is a great place to learn and get more information. I just wanted to make an introductory post to introduce myself. Thanks for the help.

Get a GravatarLeave a Reply

Name: « Required

Email Address: « Required

Website URL: « Optional

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">