I can't get hook_menu() to work
check 
http:localhost/formexample

Back-end admin panel menu : 

$items['admin/structure/formexample'] = array(
    'title' =&gt; 'View the sample form',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('formexample_nameform'),
    'access callback' =&gt; TRUE,
    'type' =&gt; MENU_NORMAL_ITEM
  );


used this code