$name = "1323,544,4545,45,4542";
$split = explode(',',$name);
mysql_connect (localhost, **, **);
mysql_select_db (**);
foreach ($split as $value) {
$result = mysql_query ("UPDATE NEWS SET BLOCK = '1' WHERE NewsID = '$value'");
//$name = "Value: $value<br />\n";
}
This only updats my first value not the rest why??