liamloveslearning Posted July 1, 2011 Share Posted July 1, 2011 Hi all, I have a small user community website ~250 users, and I want to add a section where they can enter there interests. Users can enter their interests manually, So user X will add Tennis, Football, Basketball. If user Y then goes to enter his, as hes typing I want a script to check the DB to see if theres any possible values that match, so if he type FOO football would appear. My idea is that after X months the table will have plenty of options and most interests will be auto completed. What im asking is how is the best way to do this? Does this make sense? Quote Link to comment https://forums.phpfreaks.com/topic/240899-best-way-to-build-interests-section/ Share on other sites More sharing options...
mikesta707 Posted July 1, 2011 Share Posted July 1, 2011 Well for one you will need to do this with AJAX. If you want to build it from scratch, and you don't know javascript/ajax or even Jquery than you will have to learn that first. However, if you do a google search for AJAX autocompleter or AJAX autosuggester you will probably find some libraries that will suit your needs. Personally, I would probably use some sort of Jquery library or add-on. Quote Link to comment https://forums.phpfreaks.com/topic/240899-best-way-to-build-interests-section/#findComment-1237441 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.