Display Random Content

Posted by Pete | Posted in PHP Functions | Posted on 13-08-2009-05-2008

0

In this tutorial I will show you how to display random content. This is something similar as to what we use for our adverts on the top of our website. So lets get started.

Random Content From Strings.

".$content[$rand]."
"; // Echo the content ?>

So its as simple as that. If you have any further questions or want any more help please leave a comment.

Write a comment

You must be logged in to post a comment.

Tutorials Written By Peter Kelly