<?
/*
* Exemplar Web hosting
* http://www.exemplar.biz
*
* Title: PHP Online Invoice System
* Version: 2.0
* Author: Exemplar
* Date: 01-01-2006
*
*/
include("header.php");
if ($client_id !== '1')
{
echo "<br><br><B>OOPS, you do not have permission to delete invoices </B><br><br>
<a href=menu.php>Please return to the main menu now.</a>";
exit;
}
mysql_query("DELETE FROM invoices WHERE id=$id",$db);
echo "Invoice $id has been deleted<br><br>";
include "footer.php";
?>