Project Report of Electricity Billing System
Page - 106
$cond;
$rs = mysql_query($SQL) or die(mysql_error());
if($_SESSION['login']!=1)
{
header("Location:../login.php?msg=You are registered successfully.
Login with
your credential !!!");
exit;
}
else if($_SESSION['user_details']['user_level_id'] == 3) {
header("Location:../user.php?user_id=".$_SESSION['user_details']['user_id']."&msg=Your
account updated successfully !!!");
exit;
}
header("Location:../user-report.php?msg=$msg&type=$R[user_level_id]");
}
#########Function for delete user##########3