Try adding the following line and then modifying your sql:
if(isset($_POST['radera'])){
$id = $row['id'];
$query = "DELETE FROM guestbook WHERE id = $id";[
Also, just a quick bit of advice that may save you hours in the future.... Get into the habit of using $var['column_name'] ie bound your column names with single quotes.