mi sembra di capire che non sto passando un array.
ho sostituo il foreach con
while (list($key, $value) = each($_POST['chek']))
ed ottengo come risultato:
Variable passed to each() is not an array or object in ... on line 157