Jump to content

Facebook Users! - Dynamic search


nealios

Recommended Posts

Hello,

 

On facebook the search box on the side enables you to search for friends and new people.

 

When you type in the name of a person that is already your friend it dynamically creates a drop down list with all the people in your friends that has that name.

 

Ive looked everywhere to find some examples of similar coding to no avail. I have no real idea how to even start, ive looked at W3 schools but there live search works from an XML file rather than connecting to a database.

 

What i want to do is have a customer search within my system that when i type in a first name/surname all the people that meet that criteria will automatically appear.

 

Anyone have any idea of how i can do this?

 

Many thanks

 

nealios

Link to comment
https://forums.phpfreaks.com/topic/80040-facebook-users-dynamic-search/
Share on other sites

Check this site out

http://members.aol.com/barryaandrew/xmlhttp/article.html

 

It's very well documented about how to create dynamic search as well as select boxes and other things.

Basically every time the user enters in a letter, you send what they've typed to a separate processing page, and it returns the results.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.