Posted by laredotornado on 03/06/06 23:57
Hi,
I'm trying to generate options in a menu that read
<option value="2006-03-01 00:00:00.0">March, 2006</option>
<option value="2006-04-01 00:00:00.0">April, 2006</option>
....
<option value="2006-12-01 00:00:00.0">Decmeber, 2007</option>
where the beginning is defined by the month/year of today's date and
the end is defined by a constant "FINAL_YEAR".
How would I generate the above menu using PHP 4?
Thanks, - Dave
[Back to original message]
|