How to call function after submit button clicked
If you want to call the function after submit of the form.

Add this part in hook_menu:

function MYMODULE_menu(){

    $items['project'] = array(
    'title' =&gt; 'Project List' ,
    'page callback' =&gt; 'project_list1',
    'access callback' =&gt; TRUE,
    'menu_name' =&gt; 'devel',
    'type' =&gt; MENU_CALLBACK,
    );

 return $items;

}


If you want the menu to appear in main menu you can make these changes: 

     'menu_name' =&gt; 'main-menu',
     'type' =&gt; MENU_NORMAL_ITEM,



Your  function here:


  function project_list1(){
     /////code
    }


And then in your submit function, you can directly add: 

  //Add this in the last line of your submit function
   drupal_goto('project');


This will directly go to the path 'project' and call your function 


  project_list1()