Fenhopi Posted November 11, 2010 Share Posted November 11, 2010 I have a function that's supposed to search through my user database and find the member the query was searching for. Is there a way to make it so that it suggests users while I'm typing? Quote Link to comment Share on other sites More sharing options...
upp Posted November 11, 2010 Share Posted November 11, 2010 You could do this with AJAX. have your search input field send the information to another php page using AJAX then have that page run a search for the content that is being typed by your users and send back similar usernames and have those come up with html here is an example of what I think you are trying to do http://www.w3schools.com/ajax/ajax_aspphp.asp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.