/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

+1

echo "<select>";
for($i=1;$i<=12;$i++){
  echo("<option value=".$i.">");
  switch($i){
    case 1: echo("January");break;
    case 2: echo("February");break;
    case 3: echo("March");break;
    case 4: echo("April");break;
    case 5: echo("May");break;
    case 6: echo("June");break;
    case 7: echo("July");break;
    case 8: echo("August");break;
    case 9: echo("September");break;
    case 10: echo("October");break;
    case 11: echo("November");break;
    case 12: echo("December");break;
  }
}
echo "</select>";
 

Browse all snippets