I'm watching a Mysterious problem in my site. I made a archive menu in php from my news post that is stored in mySQL I made a query thats produce the following result and its ok. yearmonth month_total ---------- ------------ 2009-02 321 2009-03 386 2009-04 303 2009-05 632 2009-06 580 But when I display query result in php it shows following result. See, here 'March 2009' is two times. ITS THE PROBLEM. March 2009 (321) March 2009 (386) April 2009 (303) May 2009 (632) June 2009 (580) But in my localhost, when I test it, it result everything ok. The actual result will be the following: February 2009 (321) March 2009 (386) April 2009 (303) May 2009 (632) June 2009 (580) Do you know whats happend?
Only the word March appears twice. The counts appear to be the same in both results. How are you converting the numeric month to the word March?
Colbyt, I used following code to convert the numeric month to the word March $postdate = strtotime($archive_row[yearmonth]); $archdate = date("F Y", $postdate); All of my code workes fine in my localhost.