for($i = 0; $i <= 7; $i++) {
$day=strtotime("+$i day");
echo ''. date(' *your
format here* ',$day).'';
}
Jay Fitzgerald wrote:
Does anyone know how I can make a PHP form select box that has the
dates in it for the next 7 days including today and the remaining days
from this week?
eg:
F
> -Original Message-
> From: Jay Fitzgerald [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 9:17 AM
> Subject: [PHP] PHP Auto-Date Select Box
>
>
> Does anyone know how I can make a PHP form select box that
> has the dates in
> it for the next 7 d
Does anyone know how I can make a PHP form select box that has the dates in
it for the next 7 days including today and the remaining days from this week?
eg:
Friday, April 5
Saturday, April 6
Sunday, April 7
Monday, April 8
Tuesday, April 9
Wednesday, April 10
Thursday, April 11
Friday, April 12
3 matches
Mail list logo