A simple tutorial to show people how to create a random link script. Could easily be modified to create a random banner or random text script.
Broken down into simple steps.
Written by James Barnsley (www.poundingbeats.com)
learning by example is great way to figure out exactly how to make random outputs from image to text to actual html code. In the script provided it gives how it actually works within the comments. A very useful tool for beginning web designers and people new to php
Easily make a quick random choice between two options. This php script works by seeing if the current server time seconds is even or odd. The code snippet also extends the basic principle to let you flip a 3-sided coin (for choosing among 3 options). Use this for deciding banners, style sheets or any random choice between a very limited number of options.