RE: [PHP-DB] One more date question (NOOOOOOO) :-)

2003-02-27 Thread John W. Holmes
Sorry about all these emails :-) I have one final question (For this week - LOL). How can I get the current month + the next 11 months in a dropdown form box? Ideally there'd be 3 boxes, 1 with the day, dependant on the month you select plus the year, though I can hardcode the year without

[PHP-DB] One more date question (NOOOOOOO) :-)

2003-02-26 Thread Chris Payne
Hi there everyone, Sorry about all these emails :-) I have one final question (For this week - LOL). How can I get the current month + the next 11 months in a dropdown form box? Ideally there'd be 3 boxes, 1 with the day, dependant on the month you select plus the year, though I can

Re: [PHP-DB] One more date question (NOOOOOOO) :-)

2003-02-26 Thread Peter Beckman
Sure -- for ($x=0;$x12;$x++) { echo option.date('F',mktime(0,0,0,(date('n')+$x),date('j'),date('Y')))./option\n; } For the day limitation, there are lots of javascripts out there to do that. Peter On Thu, 27 Feb 2003, Chris Payne wrote: Hi there everyone, Sorry about all these emails