10-01-2003, 05:03 PM
|
|
|
Confirmed User
Industry Role:
Join Date: Dec 2001
Posts: 7,952
|
Quote:
Originally posted by kevinale
The most elegant way is to do this:
<pre>
< ? php
$NUMPAGES = 9;
$day = date("z") % $NUMPAGES;
include("0$day.html");
?>
</pre>
|
Nice...
|
|
|