prepare($sql);
$stmt->bind_param("ii", $programID, $groupID);
$stmt->execute();
$stmt->bind_result(
$courseID,
$courseName,
$reserveCourse,
$startDate,
$endDate,
$slotLabel,
$slotFrom,
$slotTo
);
while ($stmt->fetch()) {
$checkedReserve = $reserveCourse ? 'checked' : '';
$timeRange = date("h:i A", strtotime($slotFrom))
. " - "
. date("h:i A", strtotime($slotTo));
echo "