Sorry to ask a simple question, but I'm looking to randomise a display of images, which are called up with basic PHP include files.
So if there are 5 images, I'm calling them up as:
Code:
<!-- site content above -->
<?PHP include("/home/user/public_html/image1.php"); ?>
<?PHP include("/home/user/public_html/image2.php"); ?>
<?PHP include("/home/user/public_html/image3.php"); ?>
<?PHP include("/home/user/public_html/image4.php"); ?>
<?PHP include("/home/user/public_html/image5.php"); ?>
<!-- footer below -->
How would I randomise with a script within the body itself?
Many thanks for any replies.