sheikhmdirfan Posted August 3, 2009 Share Posted August 3, 2009 Hi All, Again i am back to u friends... I have a text box on a webpage in which a user gives a plant name. What i want is that as the user is typing the plant name a list of options should appear as he is typing and he should be able to select one of those. If he selects one of those then that value should appear in the textbox. e.g say there are 3 plants whose names start with or contains the word "Boti" in the database. say Boti Mascas, Boti feral, Boti vestras. As i type Boti or start with B the list should appear with the textbox below it and i should be able to select one among them. If anyone of you could help in this regard then i will be very thankful. Thanks in advance.. Link to comment https://forums.phpfreaks.com/topic/168614-displaying-a-list-of-options-from-database-as-the-user-fills-in-textbox/ Share on other sites More sharing options...
solon Posted August 3, 2009 Share Posted August 3, 2009 Ok, if i got that right you want to do something like in google's first search page... In order to do that you need to use AJAX in combination with PHP. That is not so hard. Do you have any available code to see and help you on that? Link to comment https://forums.phpfreaks.com/topic/168614-displaying-a-list-of-options-from-database-as-the-user-fills-in-textbox/#findComment-889485 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.