View Single Post
Old 10-01-2003, 05:03 PM  
4Pics
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...
4Pics is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote