• wyclef

    (@wyclef)


    how could I change <?php include(TEMPLATEPATH.'/banner.php'); ?> or the contents of that file to have rotating or random content? I’m not interested in just some random image thing… the random content has more detail and structure to it.

Viewing 1 replies (of 1 total)
  • Thread Starter wyclef

    (@wyclef)

    I hooked this up for random, but am wondering how I could adjust it to only rotate weekly.

    <?
    		$sl = rand(1,4);
    		include (TEMPLATEPATH.'/banner_'.$sl.'.php');
    		?>
Viewing 1 replies (of 1 total)
  • The topic ‘How to pick a rotating file (or random)’ is closed to new replies.