<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Checkbox 測試</title>
</head>
<body>
<?php
$lang = ['中文', '英文', '日文', '韓文', '法文', '德文', '俄文', '西班牙', '阿拉伯', '泰文'];

if ($_POST['submit'] == '送出') {
    $wksel = $_POST['wksel'];
    # . . .

}
echo '<form action="" method="POST">';
for ($w = 0; $w < count($lang); $w++) {
    echo '<input type="checkbox" name="wksel[' . $w . ']" value="sel"';
    if ($wksel[$w] == 'sel') echo ' checked ';
    echo $lang[$w] . '&nbsp;&nbsp;';
}
echo '<input type="submit" name="submit" value="送出">';
echo '</form>';

?>
</body>
</html>