View file wap.rzz.ru/mod/admin/guestbook/delete.php

File size: 413B
<?
include $DOCUMENT_ROOT.'/inc/header.php';

              {
include $DOCUMENT_ROOT.'/inc/db/config.php';
$query = "DELETE FROM `guestbook` WHERE `id` = '".$id_mess."' LIMIT 1";
$result = mysql_query($query);
if (!$result) echo mysql_error();
else 
{
print rus('Удаление произошло!<br/><do type="prev" label="Вернуться"><prev/></do>');
}
              }
include $DOCUMENT_ROOT.'/inc/footer.php';
?>