Insert Checkbox into database

Hello,

I have been trying to insert multiple checkbox into the database but it is not working property. I only receive one value in the database.

Capture2

                                                    <legend class="col-sm-2 col-form-label">Adv type</legend>
                                                    <div class="col-sm-10">
                                                        <div class="form-check">
                                                            <input class="form-check-input" type="checkbox" value="AdvType" id="inp_AdvType" name="AdvType">
                                                            <label class="form-check-label" for="inp_AdvType">Adv type</label>
                                                        </div>
                                                        <div class="form-check">
                                                            <input class="form-check-input" type="checkbox" value="AdvType2" id="inp_AdvType1" name="AdvType">
                                                            <label class="form-check-label" for="inp_AdvType">Adv type 2</label>
                                                        </div>
                                                    </div>
                                                </div>

They appear to be a checkbox group with the same name. If you want separate check boxes and to be able to select each then you will need to give them unique names.

so, I changed the name to make it unique; the goal is to insert it into the same field in the database. But it become weird at that point.

Do you see any error I can correct.

<div class="form-group row" is="dmx-checkbox-group" id="group1">
<legend class="col-sm-2 col-form-label">Adv type</legend>
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="AdvType" id="inp_AdvType" name="AdvType[]">
<label class="form-check-label" for="inp_AdvType">Adv type</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="AdvType1" id="inp_AdvType1" name="AdvType1[]">
<label class="form-check-label" for="inp_AdvType1">Adv type 1</label>
														</div>
													</div>
												</div>

Capture

I need the checkbox to be in one field. So, the repeat step is not every helpful in this case.
I tried to use split the insert area it is not working yet.