royaltysaab Posted March 23, 2007 Share Posted March 23, 2007 Hi All, The AJAX solution works brilliantly (http://www.w3schools.com/ajax/ajax_database.asp)!! Thanks. What i have done is, in my drop down i've got usernames, when 1 is selected a table is displayed, which shows the following information: Firstname (firstname) Surname (surname) Email (email) Login (sername) ID (id) ext (tel) Mobile (mobile) Department (depart) What i want to know is can parse the values from the generated table into another form, when the user hits submit? Can POST the values which are in the table? Or will i have to create text boxes which populate when a value is selected from the drop down list? Hope this makes sense? Quote Link to comment https://forums.phpfreaks.com/topic/43949-dynamic-text-box/ Share on other sites More sharing options...
cmgmyr Posted March 23, 2007 Share Posted March 23, 2007 you see where the values are being put into an html table? Just add input text boxes in there...make the whole thing a form and BAM! instant ajax dropdown DB form! Quote Link to comment https://forums.phpfreaks.com/topic/43949-dynamic-text-box/#findComment-213419 Share on other sites More sharing options...
royaltysaab Posted March 23, 2007 Author Share Posted March 23, 2007 Thanks, working now..... The way i done it is, left the html tables in the php and added hidden input boxes. Quote Link to comment https://forums.phpfreaks.com/topic/43949-dynamic-text-box/#findComment-213509 Share on other sites More sharing options...
cmgmyr Posted March 23, 2007 Share Posted March 23, 2007 there ya go...thats what I meant Quote Link to comment https://forums.phpfreaks.com/topic/43949-dynamic-text-box/#findComment-213511 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.