I have a form with multiple checkboxes where a user selects column names from a view in my database.
The form has action of 'post'. Once submitted I want to select the columns they have chosen
How can I list the POST variables in a comma separated list and then add them to my select statement
Something along the lines of:
foreach($_POST as $key => $value) { }