How to store multiple checkbox values in single column database? Given that I am using PHP language and a PDO method. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to store multiple checkbox values in single column database? Given that I am using PHP language and a PDO method.

A person has multiple skills so I took skills as a multivalued attribute and transferred it to a new table. But how to store multiple skills of a person that are multiple checkboxes?

19th Feb 2017, 4:02 AM
Syed Haider Ali
Syed Haider Ali - avatar
1 Answer
+ 3
implode the results, just do a search on PHP implode, too short space here for an example page...
19th Feb 2017, 5:33 AM
Andre van Rensburg
Andre van Rensburg - avatar