Store array in the database and recover using one of the array information [closed]

1

I need to develop a system where I capture the selected data from a checkbox and insert everything into a array , I believe this is the most appropriate method to store, and then send it to the database, and time to retrieve the data from the database would like to simply search for one of the values in the array.

For example I have 3 combobox, one written question 1, question 2 and question 3, if I just select question 1 and 2, this would be written to the database, and at the time of retrieving the result via SELECT I just put SELECT * FROM tabela WHERE pergunta='pergunta1' , and this would return the result where question 1 is inside the stored array

    
asked by anonymous 10.07.2016 / 03:18

0 answers