Aleix Cortadellas
A little bit of everything…
-
Saving multiple selections from drop down list to database
This post will teach you how to process and store multiple selections from a form element into a MySQL database, using PHP. In order to understand how it works, you will need basic knowledge of PHP arrays, because they’re necessary for achieving the results.If you still don’t know what arrays are and how do they work, read Tizag’s array tutorial first.
-
Populating a dynamic drop down menu from a MySQL database
This PHP code snippet retrieves the data in a specific column of each row in a MySQL table. The retrieved data is echoed to the DOM and displayed as options of a drop down menu. The options of the drop down menu are dynamic, as they will change automatically every time the information in the database is modified.


