Hi, I need a feature on my site whereby when a user starts typing into a textbox, results are generated and shown on-the-fly. E.g someone types "ma" the code can tool up the mysql table and populate a list under the textbox (but the user can carry on typing if they wish) Like the search function on facebook. Wasn't quite sure where to post this, but if anybody has any articles etc to put my on the right line i'd be grateful
Here's a few. You need to use Ajax to be able to dynamically query the database and return relevant results. http://www.talkphp.com/advanced-php-programming/1588-auto-suggest-using-php-mysql-ajax.html http://www.roscripts.com/Ajax_autosuggest_autocomplete_from_database-154.html http://www.navioo.com/ajax/examples2.php