Moin,
$query = "UPDATE news SET titel = '$titel', text = '$text', img = '$img' WHERE id = 'id'";
Versuch es mal so:
$query = "UPDATE news SET titel = ".$titel.", text = ".$text"., img = ".$img." WHERE id = ."id." ";
Beachte die Hochkommatas. Was gibt ein echo mysql_affected_rows(); ?
Stefan