View Single Post
Old 10-01-2003, 10:49 PM  
Hardcore J
Hardcore 4 Life™
 
Hardcore J's Avatar
 
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote