I am relatively new to PHP and SQL so hopefully this is something really easy to do!
I have a for loop in PHP which echoes a database row, echoes a checkbox, then
. I have the value of the checkboxes set to a php variable when they’re printed (the ID of the row) and if I inspect element in Chrome I can see that they do indeed have this value. My question is how do I work with these values? I need to be able to store the selected checkbox values(id’s) to an array so I can then add the these items to another database. For reference this is a school project where music tracks are echoed, then the checkboxed tracks are added to the playlist database. Attached is the code. Thanks in advance!
help!.zip (438 Bytes)