Why doesn't my form submission handler work? I am new to drupal and require help from Gurus.

I am adding some form elements in the status share form by using hook_form_alter(). These elements are getting displayed in the form, but my submission handler is not working. I am using $form['#submit'][] = 'my_module_form_submit'; to add it to the form.

function my_module_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form_id == "statuses_box") {
    $form['tech2'] = array(
      '#type'=&gt;'select',
      '#title' =&gt; '',
      '#attributes' =&gt; array('class' =&gt; array('tech2')),     
      '#options' =&gt; array('All'=&gt;'All','New'=&gt;'New',),  
      '#multiple' =&gt; false,     
    );

    $form['#submit'][] = 'my_module_form_submit';
  }
}

function my_module_form_submit($form, &amp;$form_state) {
  // Do something here.
}



The issue I am getting is my_module_form_submit is not getting called. The debugger break-point is not getting hit in this function
I am not getting error message neither on page nor in admin/reports/dblog
What I want is to add a new row in my custom data table, which this code is supposed to create.
Default form handling is running perfectly.
Check your form id. I doubt your form id is not correct. Even you can try this also -

function my_module_form_submit($form, &amp;$form_state) {
  // Do something here.
  echo "&lt;pre&gt;";
  print_r($form);
  exit;
}