I need to design a search box in my facebook desktop application, with functionality same as that of facebook search.
If a name say 'sam' is entered, then all users in whose name 'sam' comes should get listed.
Same as the output of this sql query: select uid, name from users where name like '%sam%'.
Is there any way to implement this?