Location: PHPKode > projects > Pet Grooming Management System > pet/servicedeleted.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>PGMS Serivce Deleted Page</title>
<?php
$number = $_POST['number'];
$type = $_POST['type'];
$charge = $_POST['charge'];
?>
<link rel="stylesheet" type="text/css"
href="background.css" />
<META HTTP-EQUIV="REFRESH" CONTENT="2;URL=blank.php">
</head>
<body>
<?php
require ('info.inc');
$link = mysql_connect('localhost',$r,$p) or die("Could not connect to Host.");
mysql_select_db($d) or die("Could not select database.");
$query = "delete from services where number = '$number'";
$result = mysql_query($query);
	 if (mysql_affected_rows()==1){
	     echo '<P>The service has been DELETED. You will be directed to a blank page in 10 seconds';
			 }else{
			 echo '<P>Something went wrong with your delete serivce attempt.</P>';
			 } 
require('footer.inc');
?>
</body>
</html>
Return current item: Pet Grooming Management System