Random include???
| From: | Benjamin Trépanier | Date: | Thu, 19 Dec 2002 14:45:32 +0000 |
| Subject: | Random include??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128865@lists.php.net to get a copy of this message | ||
Hi, I'm a newbie in php so sorry for that question!
I have a table in a html dcc and I want to include a file in a cell, but
that file must be random so people load a different page each time they
refresh... The basic syntax I use for the include is below now, I want to
know how to generate the random.
Ex. My file are
folio_1.php3
folio_2.php3
folio_3.php3
folio_4.php3
folio_5.php3
<TD WIDTH=77 HEIGHT=435 ROWSPAN=2 align="left"><?
include("folio.php3");
?></TD>
Thanks!
Ben