title: Switch Case - not all cases work
body: <p>At the moment I am writing a calendar. According to the chosen motn (<code>$monthnum</code>), I store the abbreviated month name (<code>$monthabbr</code>) in a database. For that I use a switch-case construct. It works for all months, except for 08-August and 09-September. Since I used the same code for all months, I don't know why it's not working. I am close to the edge to start all over again, but before that I'll better ask if you see an error.</p>
  
  <pre><code>switch( $monthnum ) {
              case 01:
                  $monthabbr = 'Jan';
                  break;
              case 02:
                  $monthabbr = 'Feb';
                  break;
              case 03:
                  $monthabbr = 'Mär';
                  break;
              case 04:
                  $monthabbr = 'Apr';
                  break;
              case 05:
                  $monthabbr = 'Mai';
                  break;
              case 06:
                  $monthabbr = 'Jun';
                  break;
              case 07:
                  $monthabbr = 'Jul';
                  break;
              case 08:
                  $monthabbr = 'Aug';
                  break;
              case 09:
                  $monthabbr = 'Sep';
                  break;
              case 10:
                  $monthabbr = 'Okt';
                  break;
              case 11:
                  $monthabbr = 'Nov';
                  break;
              case 12:
                  $monthabbr = 'Dez';
                  break;
  }
  </code></pre>