We are searching for some simple PHP code for several days, but haven't found it so far.
The page should be presenting a drop down and below that a text input field + submit button.
The selection/input/submit actions create a new record in one table (insert into). The drop down is another table where the ID is the same as the one being inserted and displaying the name field in the drop down list.
There is a similiar post on this site with the name: INSERT VALUE FROM DROP DOWN BOX TO THE DATABASE USING PHP
However this solution is causing problems and is not using/retrieving values from a MySQL table.
Your help will be much appreciated!