<?
$komm=$_GET['unskrit_komm_ok'];
$komm=mysql_fetch_array(mysql_query("SELECT * FROM `forum_komm` WHERE `id` = '$komm' AND `skrit` = '1'LIMIT 1"));
mysql_query("UPDATE `forum` SET `c_k_for_user`='".($forum['c_k_for_user']+1)."' WHERE `id`='$forum[id]' LIMIT 1");
mysql_query("UPDATE `forum_komm` SET `skrit` = '0' WHERE `id` = '$komm[id]' LIMIT 1");
header("Location:/forumm/?id=$forum[id]");
?>