I am VERY new tp php, and found this script on php freaks, it is a randomizer script
<? /* Directory Structure /index1.htm /index2.htm */ srand((double)microtime()*1000000); $num = rand(1,2); include ('index'.$num.'.htm'); ?>
What I need to happen on my website is 3 blocks of text each in its own div to change every day (5 days to be precise), I got the above to work but as I said it is just a randomizer so each time you refresh it changes.
Also my dynamic content pages will sit in its own folder, and I would like to name the pages depending on what they are, eg, capetown.htm, garden-route.htm
Does that make sense, hope someone can help me!