why this does not delete anything??
<?php
session_start();
if(!isset($_SESSION['usernamea']))
{
header("location:index.php");
}
else
{
$_SESSION['usernamea']=$_SESSION['usernamea'];
$a=$_SESSION['a'];
include("../dbconnection.php");
if(isset($_GET['id']))
{
$id=$_GET['id'];
$result=mysql_query("delete * from blogtable where blogid=$id")
$n=mysql_num_rows($result);
echo "nn".$result;
if($n>0)
{
header("location:blogmoderator.php?del=Y");
}
else
{
header("location:blogmoderator.php?del=N");
}
}
}
?>



