Upcoming Events
= curdate()
order by year,month,day ";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
while($row = mysqli_fetch_assoc($result)){
//$id = $row['id'];
$month_num = $row["month"];
$month_name = date("F", mktime(0, 0, 0, $month_num, 10));
echo "
";
}
} else {
echo "0 results";
}
mysqli_close($conn);
?>