Location: PHPKode > projects > Einkaufszettelgenerator > EZettel0.1/menu_delete.php
<?
session_start();
$us= $HTTP_SESSION_VARS['uid'];
//echo "user=$us<br>"; 
?>
<HTML>
<LINK REL="stylesheet" TYPE="text/css" HREF="menu.css">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Menu - delete</title>

</head>
<body class="body1">
<?
include("menu.ini");

$strsql = "delete  from menu where user_id='$us';";
   $result = mysql_query($strsql, $connection);

//echo "str=$strsql<br>";



$strsql_1 = "UPDATE  product set sel='' where const!='Yes' and user_id='$us';";
$result_1 = mysql_query($strsql_1, $connection); 

//echo "str_1=$strsql_1<br>";

?>
<table border=1 class="menu" cellpadding="3">
<tr><td>Старое меню удалено</td></tr>
<tr><td><A HREF=input_menu.php>Выбрать новое меню</A> </td></tr>
</table>

Return current item: Einkaufszettelgenerator