Thread
:
PHP pros, need help with something simple..
View Single Post
10-01-2003, 10:49 PM
Hardcore J
Hardcore 4 Life™
Join Date: Mar 2003
Location: Everett, WA
Posts: 2,553
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>
Wow, thats quite a bit easier, huh?
Thanks!
Last edited by Hardcore J
; 10-01-2003 at
10:56 PM
..
Hardcore J
View Public Profile
Find More Posts by Hardcore J