We use something like this to changing some sections
of the web page based on the day of the year
#day number of the year, ex day 181, 183, 183
$subPartQuery=date("z")";
or
# day of the week 0=sunday mon=1, tue=3
$subPartQuery=date("w")";
select from database where day_col = $subPartQuer
If on unix "man cron". Write a script to change a pointer and use cron to
run the script.
On Wed, 28 Feb 2001 [EMAIL PROTECTED] wrote:
> Date: Wed, 28 Feb 2001 20:30:47 EST
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [PHP] Daily Rotating Page
>
> I have set up a template for
2 matches
Mail list logo