prepare('SELECT * FROM Events WHERE Event_ID = ? ');
$stmt->bind_param('s', $Event_ID);
$stmt->execute();
$result = $stmt->get_result();
$count =$result->num_rows;
$row = $result->fetch_assoc();
$Event_Title = $row["Event_Title"];
$Event_Description = $row["Event_Description"];
$Calendar_Year = $row["Calendar_Year"];
$Time_From = $row["Event_Start"];
$Time_To = $row["Event_End"];
}else{
header('Location: addholiday.php?error=The holiday you are trying to open is not exit!');
exit();
}
?>