I need to solve a problem. I have a table of responses of a poll where the answers made with checkboxes are in different lines with a common code, that of the question answered, example: cod_questao = 100 / cod_responses = 200 cod_questao = 100 / cod_respon = 201. since there are two lines I can not in foreach () make them come in a single line in html. Do you have any examples so that I can try to solve this problem?