Location: PHPKode > projects > Shell Providers Customer/Accounts DB > shelldb/process/bill_del.php
<?php include("../includes/session.php");?>
<?php include("../includes/config.php"); ?>
<? 

if(!is_admin()) {
echo '<a href="/login.php">Sorry please login as a administrator</a>';
exit;
}

?>
<? 

/* Process Script To Delete Bills from  the database */

mysql_connect ($shelldb_host, $shelldb_user, $shelldb_pass);

mysql_select_db ($shelldb_db);

$delete = mysql_query ("DELETE FROM bill
						WHERE acc_id = '$bill_id'
			           ");

echo "The Bill ID Number is:-";
echo "$bill_id";
echo '<A href="/index.php">Deletion of Bill Successfull Click Here</A>';


?>
Return current item: Shell Providers Customer/Accounts DB