ich bin gerade was am Probieren und komme nciht weiter :/
dieser Abschnitt
Code: Alles auswählen
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = $cat_id, forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . $field_value_sql. "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
Code: Alles auswählen
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = $cat_id, forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . $field_value_sql. "
Code: Alles auswählen
. $field_value_sql. "
Code: Alles auswählen
, forum_image = '" . str_replace("\'", "''", $HTTP_POST_VARS['forum_image']) . "', forum_image_new = '" . str_replace("\'", "''", $HTTP_POST_VARS['forum_image_new']) . "'
ich sehe nur noch Punkte, Kommata usw :/