PHP – Dynamic Drop-down Box for MySQL DB
Summary Here is a “quick and dirty” way to get a drop-down box in an HTML page to show the latest values from a MySQL database. Notice that there is a significant lack of error-handling. It sure did help clean up my HTML form, though. Assumptions: You already have a mysql connection object open and a MySQL database…