• Resolved sylvianNYC

    (@sylviannyc)


    I just wanted to share what I’ve been using for a random php inclusion.

    <?php
      $article = glob(TEMPLATEPATH . '/folder/*.php');
      shuffle($article);
      include ($article[0]);
    ?>

The topic ‘Random include solution’ is closed to new replies.