Search found 3 matches

Return to advanced search

Re: Show specific months

now i've tried this: $j=0; for($k=$cur_month; $k<=12; $k++){ $this_month=sprintf("%02s",$k); $the_months[$this_month]=array("year"=>$cur_year,"month"=>$this_month); $j++; } // check if all the months are shown if($j<12){ // add next year months for($k=1;$k<$cur_month;$k...
by ile
Wed Feb 13, 2008 9:49 pm
 
Forum: General
Topic: Show specific months
Replies: 4
Views: 3884

Re: Show specific months

thanks for reply, unfortunately the original code of script i have does not contain a code from your post. i do not have "$j=0" in the part of code that you cut. i have this: $the_months=array(); $total_months=1; for($k=$cur_month; $k<=12; $k++){ $this_month=sprintf("%02s",$k); $...
by ile
Wed Feb 13, 2008 9:37 pm
 
Forum: General
Topic: Show specific months
Replies: 4
Views: 3884

Show specific months

Hello :) First, i would like to thank you for this great script :) I want to show only 4 months (for example), starting from May... I set: $cur_month = 05; But then i don't know how to limit the show to only 4 months... i've tried changing numbers in the "for loops" but no success. I've tr...
by ile
Wed Feb 06, 2008 1:48 pm
 
Forum: General
Topic: Show specific months
Replies: 4
Views: 3884

Return to advanced search

cron