prepare('SELECT Time_Slot_Programs_ID,Time_Slot_ID, Time_Slot, Time_From, Time_To FROM Time_Slot_Programs WHERE Time_Slot_Programs_ID = ?');
$stmt->bind_param('s',$decrypted_Time_Slot_ID);
$stmt->execute();
$result = $stmt->get_result();
$count =$result->num_rows;
$row = $result->fetch_assoc();
$Time_Slot_Programs_ID = $row["Time_Slot_Programs_ID"];
$Time_Slot_ID = $row["Time_Slot_ID"];
$Time_Slot = $row["Time_Slot"];
$_SESSION['Time_Slot'] = $Time_Slot;
//$myArrays = explode(',', $row_ns['Time_Slot']);
//echo $myArrays[0];
//echo $myArrays[1];
$Time_From = $row["Time_From"];
$Time_To = $row["Time_To"];
}else{
header('Location: addcoursetime.php?error=The time you are trying to open is not exit!');
exit();
}
?>