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 days including today and the re
2 matches
Mail list logo