使用PHP通过复选框输入类型在数据库中插入多个用户选择

I am developing a website which has a form that enable a user to choose multiple choices through input type "Checkbox", I have stacked on how to insert multiple selections of the user in the database..

Here is my code:

if(isset($_GET['add']) || isset($_GET['edit'])){
  $fullname = ((isset($_POST['fullname']))? clean($_POST['fullname']):'');
  $win = ((isset($_POST['win']))? clean($_POST['win']):'');
  $nominated = ((isset($_POST['nominated']))? clean($_POST['nominated']):'');
  $bio = ((isset($_POST['bio']))? clean($_POST['bio']):'');
  $movies = ((isset($_POST['movies']))? clean($_POST['movies']):'');
  $birth = ((isset($_POST['birth']))? clean($_POST['birth']):'');

$insertSQL="INSERT INTO crew (fullname,win,nominated,image,movies,bio,birth)


        VALUES('$fullname','$win','$nominated','$dbpath','$movies','$bio','$birth')";
           $_SESSION['success']= 'Crew Member Added successfully';
           header('Location: crew.php');

    $db->query($insertSQL); 

     <div class="form-group col-md-3">
            <label for="movies">MOVIES YOU CONTRIBUTED IN:</label><br>
                <?php while ($movies = mysqli_fetch_assoc($sql)) { ?>
                <input type="checkbox" name="movies" value="<?=$movies['title'];?>"><?=$movies['title'];?><br>
                <?php } ?>
                </div>
        <div class="form-group col-md-6">
                        <label for="awards">Awards Winning:</label>
                            <?php while ($winning = mysqli_fetch_assoc($sql1)) { ?>
                        <input type="checkbox" name="win" value="<?=$winning['name'];?>"><?=$winning['name'];?><br>
                         <?php 

} ?>
                 </div> 

   <div class="form-group col-md-6">
                    <label for="awards">Awards Nominated:</label>
                        <?php while ($nom = mysqli_fetch_assoc($sql2)) {     ?>
                    <input type="checkbox" name="nominated" value="<?=$nom['name'];?>"><?=$nom['name'];?><br>
                    <?php } ?>
                 </div>
<form action="test.php" method="post">
<input type="checkbox" name="check_list[]" value="value 1">
<input type="checkbox" name="check_list[]" value="value 2">
<input type="checkbox" name="check_list[]" value="value 3">
<input type="checkbox" name="check_list[]" value="value 4">
<input type="checkbox" name="check_list[]" value="value 5">
<input type="submit" />
</form>
<?php
if(!empty($_POST['check_list'])) {
    foreach($_POST['check_list'] as $check) {
            echo $check; //echoes the value set in the HTML form for each checked checkbox.
                         //so, if I were to check 1, 3, and 5 it would echo value 1, value 3, value 5.
                         //in your case, it would echo whatever $row['Report ID'] is equivalent to.
    }
}
?>

Set the name in the form to check_list[] and you will be able to access all the checkboxes as an array($_POST['check_list'][]).