PHP Code:
<?php

/*
  Plugin Name: options menu
  Plugin URI:
  Description: chapter 3 multi-menu
  Author: adrian
  Version: 1.0
  Author URI: http://www.xymalf.com
 */

add_action 'admin_menu''ch3mlm_admin_menu' );

function 
ch3mlm_admin_menu() {

add_menu_page'My complex plugin configuration',
'My Complex Plugin''manage options''ch3mlm-main-menu''ch3mlm_my_complex_main'plugins_url'myplugin.png'_FILE_ ));

add_submenu_page'ch3mlm-main-menu',
'My Complex Menu Sub-Config Page''Sub-Config Page',
'manage_options''ch3mlm-sub-menu',
'ch3mlm_my_complex_submenu' );

}
The above code will not work - when I click on the sub config page it should open ch3mlm-sub-menu.php

How do I code this function for this page into the above code