note 13105 rejected and deleted from function.rand.php by philip
| From: | philip@php.net | Date: | Sun, 26 Aug 2001 11:08:13 +0000 |
| Subject: | note 13105 rejected and deleted from function.rand.php by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17162@lists.php.net to get a copy of this message | ||
Can anyone help>. I am looking to build a script that randomly pulls HTML code (i.e. a table of
info)from a directory on my server and places it on a given page of my php based web site. I know
how to do general "includes", however I don't know how to make it randomly grab an
include. Ideally, I want to have the HTML saved in a directory under a naming convention like:
customer1.inc, customer2.inc, etc. Every time someone reloads the front page of the site, I'd
like to have it display one of the HTML files that are in the directory. Can anyone help? Thanks