<?php
mysql_connect("localhost", "root", "") or die("Neimanoma prisijungti. Klaida: ".mysql_error());
mysql_select_db("cb_db");
if (!isset($_GET) || !empty($_GET['id']))
{
die("debilas hakeris");
}
mysql_query("DELETE FROM `dienorastis` WHERE Id='".$_GET['id']."'") or die(mysql_error());
?>