I am a beginner for PHP and also for coding. I have the following piece of code which increments the month. 

```
 if (isset($_REQUEST['Receipts'])) {
   $months = array( " 31 Jan 2000"," 28 Feb 2000"," 31 Mar 2000","30 Apr 2000","31 May 2000",
                    "30 Jun 2000","31 Jul 2000"," 31 Aug 2000","30 Sep 2000","31 Oct 2000",
                    "30 Nov 2000","31 Dec 2000");
   foreach ($months as $month){
     $params['Date'] = '31 Jan 2000';
      $response = $Auth->request('GET', $Auth->url('Receipts/Travel', 'core'), $params);
      if ($Auth->response['code'] == 200) {
       $receipt = $Auth->parseResponse($OAuth->response['response'], $Auth->response['format']);
       pr($receipt->Receipts);
      } 
     else 
     {
      outputError($Auth);
     }
   }

```

I have used the very basic example of storing the month values in array and looping it. I wanted to know how to increment the month values instead of storing it directly in array because I need to edit the code for other years which is not feasible. Could any body help on this?

Thanks