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
https://forums.phpfreaks.com/topic/128126-prepopulate-a-textbox-from-mysql-table/
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.

Archived

This topic is now archived and is closed to further replies.

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