ich bin mal wieder blind ...
seht ihr hier einen fehler:
if ($um == 'insert') { // insert $text = escape($_POST['txt'], 'textarea'); if ($_POST['katLis'] == 'neu') { $_POST['katLis'] = $_POST['kat']; } db_query("INSERT INTO `prefix_news` (news_title,news_title_en,user_id,news_time,news_recht,news_groups,news_kat,news_text,news_text_en,html,`show`,archiv,endtime) VALUES ('" . $_POST['titel'] . "','" . $_POST['titelen'] . "'," . $_SESSION['authid'] . ",FROM_UNIXTIME(".$newscreatetime.")," . $grecht . "," . $groups . ",'" . $_POST['katLis'] . "','" . $text . "','" . $texten . "','" . $_POST['html'] . "',$show,$archiv,$endtime)"); // insert } elseif ($um == 'change') { // edit $text = escape($_POST['txt'], 'textarea'); if ($_POST['katLis'] == 'neu') { $_POST['katLis'] = $_POST['kat']; } db_query('UPDATE `prefix_news` SET news_title = "' . escape($_POST['titel'], 'string') . '", news_title_en = "' . escape($_POST['titelen'], 'string') . '", editor_id = "' . $_SESSION['authid'] . '", edit_time = NOW(), news_recht = "' . $grecht . '", news_groups = "' . $groups . '", news_kat = "' . $_POST['katLis'] . '", html = "' . $_POST['html'] . '", `show` = ' . $show . ', archiv = ' . $archiv . ', endtime = ' . $endtime . ', news_text_en = "' . $texten . ' news_text = "' . $text . '"' . $newschangesqladd . ' WHERE news_id = "' . $_POST['newsID'] . '" LIMIT 1'); $edit = $_POST['newsID']; }
anscheinend ein synthax fehler aber ich seh in absolut nicht ....