I have created a module that will search the signature and email address for a query to return the name and email address of registered users. This way I do not need to list the email addresses. The menu function does not work. The item shows up for the admin but does not populate the menu path fields with the information I have inputed. Here is the code:

/***


<?php

/**
 * Menu callback; presents the emailsearch form and/or emailsearch results.
 */
function emailsearch_view() {
 code here to works just have problem with emailsearch_menu()
 
   

$nam=$_POST['name'];


if($nam=="")
{
$nam="ZZZ";
}
$sql_query = "SELECT * FROM USERS WHERE (signature LIKE '%$nam%')||(mail LIKE '%$nam%') order by 'signature'";
//store the SQL query in the result variable
$result = db_query($sql_query);
 if(db_num_rows($result))
{

while($row = db_fetch_array($result))
{
$output.=("<p>$row[signature] : <a href=mailto:\"$row[mail]\">$row[mail]</a>");


}
}
//print theme('page', $nam);

print theme('page',$output ,t('Email search'));
}
/**
 * Implementation of hook_perm().
 */
function emailsearch_perm() {
  return array('access content');
}

/**
 * Implementation of hook_link().
 */

function emailsearch_link($type) {
  $links = array();

  if ($type == 'page' && user_access('access content')) {
    $links[] = l(t('emailsearch'), 'emailsearch', array('title' => t('Search for email address.')));
  }
if ($type == "system") {
   menu("emailsearch", t("email"), "emailsearch", 0, MENU_SHOW);
   }
  return $links;
}

function emailsearch_menu($may_cache) {
  $items = array();

     $items[] = array('path' => 'emailsearch', 'title' => t('Email Search'),
      'callback' => 'emailsearch_view',
      'access' => user_access('access content'),
      'type' => 22);
	
      

  return $items;
}
?>



**/