Hello all,
I am really new to PHP coding and what it can do. I recently found an example of how to populate HTML select boxes based off of information contained in MySQL tables. After I select and submit from my page I get an error code of just Error. I know that my php code is just telling me something went wrong but I have no idea. At one time I had it to where the PHP form was submitting data but in my table the value was always 0 even though I was selecting different records within the table. Some how I managed to lose that code. I have attached the two php pages that I am trying to pass values from page to another and the MySQL table layouts that I am using.
My code will never see the light of the WWW so security is not an issue.
showing_table_layout.txt
testing.php
settings_table.php