biggieuk Posted November 27, 2006 Share Posted November 27, 2006 Hi all,I have an admin page for my booking system with a listbox that is populated by the 'surname' field in the database.When a certain surname is selected i would like the details for that surname to populate the other textboxes on the admin page. firstname, address, tel etc..This could then be editable and can be resubmitted to the database.Im unsure on how to pass the listbox value into a query to receive the data and display it into the other boxes?Thanks very much.Dan Quote Link to comment https://forums.phpfreaks.com/topic/28611-listbox-value-sent-to-query/ Share on other sites More sharing options...
fenway Posted November 27, 2006 Share Posted November 27, 2006 Sounds like you'll need to go round-trip to the server... AJAX is the most common way to handle this. Quote Link to comment https://forums.phpfreaks.com/topic/28611-listbox-value-sent-to-query/#findComment-131002 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.