First of all, this:
<input type="checkbox" name="id[]" value<%=$id%>>
Should look more like this:
<input type="checkbox" name="id[]" value=<?=$id ?>>
i.e. you forgot the = after value
Next, you probably want to do the following, instead of:
for ($i=0;$i < count($id); $i++)
{
$sql_id = $sql_id ."id=$id[$i]" . " OR ";
}
Use:
foreach ($id AS $thisid) {
$sql_id.= "id= '$thisid' OR ";
}
Then continue with whatever else you were doing. This should do the trick much nicer. If your still having problems, get the SQL error message outputed by mysql (echo mysql_error()), plus the SQL that this is creating and that should help in aiding you.
Hope that helps!
Chris King