Home » Javascript » Using PHP & JavaScript, populate a dropdown box with data from one table, and use the selected value in another table

Using PHP & JavaScript, populate a dropdown box with data from one table, and use the selected value in another table

Posted by: admin August 19, 2018 Leave a comment

Questions:

Would someone provide a simple example that first creates a dropdown box that is populated with data from one table (e.g. “names”), then recording the selected value (e.g. the “ID” from that table) in another table (e.g. “addresses”).

Answers: