kaip perduoti $first reiksme, kai ji paimama is mysql uzklausos? Kaip priskirt ja kaip id ar value? index.php <form method="post" action="checkbox-form.php"> $first=mysql_result($result,$i,"ban"); echo '<tr> <td>'.$first.'</td> <td> <input type="checkbox" name="check[]" value = '.$first.' ></td></tr>'; checkbox-form.php foreach($_POST['check'] as $value) { $check_msg .= "Checked: $value\n"; }