Friday, 16 May 2014

How to delete particular row value in sql

<?php
include('conn.php');
$query="delete from table_name where ID='$_REQUEST[id]'";
mysql_query($query) or die(mysql_error());
header('location:category_fetch.php');
?>

No comments :

Post a Comment