I want to add to a form multible checkboxes
<input type="checkbox" name="pop">Coke<br>
<input type="checkbox" name="pop">7up<br>
Then insert each that was checked into database table called food under a colum called pop
and then using a search such as :
select * from food WHERE pop LIKE '$pop'
But not sure how to do the insert because I am thinking it will insert like this:
Coke7up and I think they have to be seperated in order for the search to work correctly
Can anyone show me how to do this ?