You have to set checkboxes name with array brackets.
Ex: <input type="checkbox" name="man[]" value="<?php echo $row['id']; ?>">
After that if you get their values with $_POST["man"]
, then an array with value of the checkboxes will be return.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…