<? echo $rows['general']; ?><? echo $rows['comment']; ?>
‘general’ is a text field but ‘comment’ is a checkmark item. It works fine if I type in the text field or if I select the checkmark; but if I fill the text form and also check the checkmark then I would like them to be separated with a comma and space.
if thous are the only 2 field:
otherwise you can use trim to remove the , if not needed: