Jump to content

Prepopulate a textbox from mysql table


aldrin151

Recommended Posts

Hello, does anyone know what I would search for or know how to create a textbox to retrieve data from a mysql table? For example a user has the option to either enter their own writing in the text box or the textbox drop downs a list of values pulled from the table. Another example would be if you're on yahoo or google search box and a suggestion of what people have searched for displays. Thanks.

Link to comment
Share on other sites

Best way to do this active search(many examples on google) would be a combination of ajax and javascript.  If you've never done ajax before I strongly recommend doing this project from scratch as you will be very satisfied when you are finished.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.