![]() |
generate 12 mini-calendars - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: generate 12 mini-calendars (/showthread.php?tid=24838) |
generate 12 mini-calendars - El Forum - 11-21-2009 [eluser]timj[/eluser] Why doesn't this work? It clearly generates [what appears to be correct when echoed] 12 incremented $this->calendar->generate(Year, month) statements, but every calendar is the default (current) month in the correct year. In other words, it is correctly reading the year and correctly incrementing the month... it is just not reading the month. More to the point, I guess, is there an easier way to do this? Code: function get_months($date1, $date2) generate 12 mini-calendars - El Forum - 12-05-2009 [eluser]timj[/eluser] I was hoping someone might attempt to answer this question. Is it a limitation of the Calendar Helper? |