If a data appears in my database, then I have a checked attribute output on my checkbox Want to do / P> I tried to do in_array () , but it did not work due to values (see database) I do not know how I will output them Well PHP Code: $ general_list = ""; ($ Line ['f_general'] == 'bar,') {$ general_list. = "& Lt; label class = \" bg-danger \ "& gt; & lt; input type = \" radio \ "name = \" normal [] \ "value = \" bar, \ "checked = \" Checked \ "/> bar & lt; / label & gt;"; } And {$ general_list. = "& Lt; labeled & gt; input type = \" radio \ "name = \" normal [] \ "value = \" bar, \ "/> bar, & lt; / label & gt; ; " ; } If ($ line ['f_general'] == 'restaurant,') {$ general_list = "& Lt; labeled> input type = \" radio \ "name = \" normal [] \ "value = \"...