- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
$save=$_POST['save'];
if ($save == 'yes') {
$cont=mysql_real_escape_string_ir($_POST['cont']);
@mysql_query("DELETE FROM ".$tables['_page']." WHERE id_kat='$id_kat'");
@mysql_query("INSERT INTO ".$tables['_page']." (id_kat, txt, dt) VALUES ('$id_kat', '$cont', NOW())");
deleteCache($id_kat, $cid, $insert_id, 'pages', $cont);
insertCache($id_kat, $cid, $insert_id, 'pages', $cont);
};