<?php
include "config.inc.php";
include "fo.php";
include'ver.php';
include'valid.php';
$res=mysql_query("select `table_n` from `index` where id='$id'");
$re=mysql_result($res,0,table_n);
$x="$re"."min";
mysql_query("delete from `$x`");
$res=mysql_query("select `table_n` from `index` where id='$id'");
$resu=mysql_result($res,0,table_n);
$y="$resu"."mout";
mysql_query("delete from `$y`");
header("Location: mail.php?id=$id&pass=$pass&ok");
?>