Voodoo Jai Posted August 7, 2008 Share Posted August 7, 2008 I have a db table that I want to populate into a text field in a form, then as you type it matches to what is stored on the db ready to be accepted as input for the form. I only want one line to appear then as you type the appropriate value comes up. How do I do this. eg typing W appears W typing WF appears WF typing WF4 appears WF4 you get the picture Thanks in advance VoodooJai Link to comment https://forums.phpfreaks.com/topic/118592-solved-matching-text-in-a-drop-down-box/ Share on other sites More sharing options...
peddel Posted August 7, 2008 Share Posted August 7, 2008 normal html, as well as php wont help u with this ! If u want instant updating on db tables within a form u will need AJAX. But i dont know if this forum has a specific AJAX subsection, if not just look for other forums. What u can do in html combined with php is the following : - add a button after the textfield - when u press button, let php find all possible items, trough MySQL searching Hope this helped a bit Link to comment https://forums.phpfreaks.com/topic/118592-solved-matching-text-in-a-drop-down-box/#findComment-610581 Share on other sites More sharing options...
Voodoo Jai Posted August 7, 2008 Author Share Posted August 7, 2008 Great thanks VoodooJai Link to comment https://forums.phpfreaks.com/topic/118592-solved-matching-text-in-a-drop-down-box/#findComment-610704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.