On Mon, Mar 23, 2009 at 6:34 PM, Aldo Martinez Selleras <aldo@caonao.cu> wrote:
>
> i am creating a custom user directory for my site, and i want to use the
> drupal search for this... how can i add a search form in my page but only for
> search users???

 search_data($username, $type = 'user')

create a custom form which calls the above function on submit.

You may have to refer this
http://api.drupal.org/api/file/modules/search/search.module/6




--
Thanks a lot
-----------------------------------------
http://ubuntuslave.blogspot.com/