Thanks for your reply.
I can't seem to get it to fly.
It is probably just my inexperience
I hope you can help me further.
This is what i have now:
$_POST['ship_status'];
if($viewx){
$resultas = mysql_query("SELECT * FROM testinfo WHERE orderid='$itmx' ",$db);
$urows = mysql_fetch_array($resultas);
echo"<form name=orderx method=POST action=ship.php>
$resulta = mysql_query("SELECT * FROM testtitles WHERE orderid='$itmx' ",$db);
while($myrowx= @mysql_fetch_array($resulta)){
<td align=center><input type=\"checkbox\" name=\"ship_status[".$myrow2x["ship_status"]."]\" value=\"1\">
</td></tr></table>";
}
if (sub){
if (is_array($POST["ship_status"])) {
foreach ($POST["ship_status"] as $key => $value) {
$sql = "UPDATE table SET ship_status = '$value' WHERE ship_status = $key";
}
}
}
echo "<table width=\"600\" border=\"0\"><tr><td><br/><input type=\"submit\" name=\"sub\" value=\" Ship Items! \">
</form></td></tr></table>";