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 next... > > Example: Today is 12th, then the menu shows the following option to be > choosen > 12/11/02 > 13/11/02 > 14/11/02 > 15/11/02 > 16/11/02 > 17/11/02 > 18/11/02
You'll need to use some combination of time() & strftime(), and whilst not strictly necessary but highly recommended strtotime(). -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* I bought some used paint. It was in the shape of a house. -- Steven Wright */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php