Try this one:
echo "" ;
for ($d=0 ; $d <7 ; $d++)
echo "".date("d/m/y",
strtotime("+$d day"))."\n " ;
echo "
" ;
- Original Message -
From: "Miguel Brás" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 4:15 AM
Subject: [PHP] Drop down list with date
>
On Wednesday 13 November 2002 01:15, Miguel Brás wrote:
> Hello guys,
>
> I have a question:
>
> How can I create a drop down menu where the choices are the days of the
> month, displaying always the next 7 days?
>
> What I mean is, create a drop down menu and show the today's date, next
> day, and
2 matches
Mail list logo