RE: [PHP] Trouble creating a list on months

2001-08-01 Thread Mark Roedel
> -Original Message- > From: Mario A. Salinas [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 7:33 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Trouble creating a list on months > > > The actua

RE: [PHP] Trouble creating a list on months

2001-07-31 Thread Matthew Loff
t;); for($num_months = 0; $num_months < 12; $num_months++) { echo "\t" . $month_names[$month] . "\n"; $month = ($month == 12? 1 : $month + 1); } echo "\n"; } I didn't get a chance to test this, bu

RE: [PHP] Trouble creating a list on months

2001-07-31 Thread Matthew Loff
nths++) { echo "\t" . $month_names[$month] . "\n"; $month = ($month == 12? 1 : $month + 1); } echo "\n"; } -Original Message- From: Mario A. Salinas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2

[PHP] Trouble creating a list on months

2001-07-31 Thread Mario A. Salinas
Hello everyone, This is my first posting. I'm hoping someone can help figure this out. I'm using a GNU licensed calendar but there is a bug in it's process for building a list of months. The list is supposed to build a list of months starting with the current month and adding 11 months to t