= CURDATE() and status = 1 ORDER BY date_time ASC limit 3";
$result = mysqli_query($con,featuredBlocks());
while($row = mysqli_fetch_array($result)){?>
More Upcoming Events
-
= CURDATE() and status = 1 ORDER BY date_time ASC limit 3,3";
$result =mysqli_query($con,$sql);
if(mysqli_num_rows($result)>0){
while ($row=mysqli_fetch_array($result)){
$dateString = $row['date_time'];
$date = new DateTime($dateString);
$formattedDate = $date->format('l | h:i A');
// echo $formattedDate;
?>
-
=$date->format('j')?> =$date->format('M')?>
Latest News
-
=mb_strlen($row["detail"]) > 300 ? mb_substr($row["detail"], 0, 120) . "..." : $row["detail"];?>
Read More