Current File : /home/inlingua/public_html/sensoriumpsychologists.com/diagnostics/franchise/cancel_treatment.php |
<?php require_once("../franchise_between/check_franchise.php");?>
<?php require_once("../franchise_between/treatment_funcs.php");?>
<?php
session_start();
if(!(isset($_SESSION['treatment_started'])&&($_SESSION['treatment_started']=="yes")))
{
echo("Error : Invalid request...");
exit();
}
$ref_no=$_SESSION['ref_no'];
$treatment_id=$_SESSION['treatment_id'];
$treatment_obj=new treatment_funcs();
$treatment_obj->delete_previous_student_ans($ref_no,$treatment_id);
unset($_SESSION['treatment_started']);
unset($_SESSION['ref_no']);
unset($_SESSION['treatment_id']);
unset($_SESSION['section_count']);
unset($_SESSION['ongoing_section_no']);
header ("location:index.php");
?>