my code is
<?php
//@session_start();
if(isset($_POST["delete"]))
{
include("connection.php");
//$nid=$_SESSION["newsid"];
//$query=mysql_query("delete from news where id='".$nid."'");
$d=$_POST['details'];
$query=mysql_query("delete from news where details='".$d."'");
}
header("location:news_list.php");
?>


LinkBack URL
About LinkBacks
Reply With Quote

