si usas checkbox te conviene hacerlo arreglo es decir
Código PHP:
#este es un ejemplo... supongamos q queremos un checbox q contenga id de una bd... haremos a medida de ejemplo un query
$select="select id, nombre from tabla";
$result = mysql_query($select) or die($select);
$i=0;
while (list($id, $nombre) = mysql_fetch_row($result)){
echo "<input type=\"checkbox\" name=\"variable[$i]\" value=\"$id\">$nombre<br>";
$i++;
}
y para leer los seleccionados seria algo como
Código PHP:
foreach ($variable as $value){
echo "$value<br>";
}