How do you code something similiar to how google guesses your input on the search box
I'm developing a site where suppliers can sell their products. I have a mySQL database of possible items they can sell. So when you click sell it takes you to a new page with an input box of what you are selling. I would like to create something where lets say you input an 'a' into the box then a clickable list below has values like 'apple', 'antenna', 'ariel', etc. Everything beginning with 'a' is displayed.