I think this would work...
<form action="update.php" method="post">
<?php
$connection = mysql_connect("host", "user","password");
mysql_select_db("user", $connection);
if(!$connection){
echo "<h4>Sorry, There Is An Error On Our Server<br>Please Check Back Later</h4>";
}
$query = "SELECT * FROM table";
$result = mysql_query($query) or die(mysql_error());
while($rows=mysql_fetch_array($result)){
echo "<input type=\"checkbox\" name=\"checkbox[]\" value=\"{$rows['id']}\" />";
}
echo "</form>";
?>
on update.php...
<?php
$connection = mysql_connect("host", "user","password");
mysql_select_db("user", $connection);
if(!$connection){
echo "<h4>Sorry, There Is An Error On Our Server<br>Please Check Back Later</h4>";
}
foreach($_POST['checkbox'] as $x){
$query = "UPDATE"; // fill in as needed
$result = mysql_query($query) or die(mysql_error());
}
header("location:index.php");
?>